Open frankcollins3 opened 1 year ago
possible casing error. why use p.Id instead of p.id: FirstOrDefault(p => p.Id == id) [10:53pm]
wrong it's going by the namespace class not the psql shell table: [10:54pm]
approach is minimum viability: 👎 var pokemon = _db.Context.FirstOrDefault()
now trying this: return Ok("hey how are you guys");
[10:58pm]
attempting to do: do a simple api test and return the only data in psql data tables.
error:
proposed approach: this is the reducing method that becomes the return data for the route. possibly make this simpler, instead of checking for ID just return anything in there which would only be 'bulbasaur' // in saying so.. just wondering if this is a typing between int and string.
possible improvements: