public async Task <IActionResult> GetUserByNameAsync(string Username) { Users user = await _university.FindAsyncUsername(Username); if (user == null) { return(NotFound()); } return(new ObjectResult(user)); }