public async Task <IActionResult> DeleteUser(long id) { var user = _dbController.FindUserByID(id); if (user == null) { return(NotFound()); } _dbController.RemoveUser(user); return(NoContent()); }