Compare commits
No commits in common. "b8026250cf64f48c72cc889e78909f59986258c9" and "87b5fbb014bbe41fe8fe38c2aa09608cc6b3863c" have entirely different histories.
b8026250cf
...
87b5fbb014
@ -27,7 +27,7 @@ namespace API.DBAccess
|
||||
|
||||
bool saved = await _context.SaveChangesAsync() >= 1;
|
||||
|
||||
if (saved) { return new OkObjectResult(true); }
|
||||
if (saved) { return new OkObjectResult(user); }
|
||||
|
||||
return new ConflictObjectResult(new { message = "Could not save to database" });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user