public async Task <UserModel> GetUserByName(string username) { var user = await safeAccountService.GetUserByName(username); if (user == null) { NotFound(); } return(user); }
public async Task <UserModel> GetUserByName(string username) { return(await safeAccountService.GetUserByName(username)); }