public async Task <TryCreateLoginResponse> TryCreateLogin(string username, string password) { var response = new TryCreateLoginResponse() { Username = await UsernameMeetsCriteria(username), Password = PasswordMeetsCriteria(password) }; if (response.Success) { await _loginRepo.CreateLogin(username, password); } return(response); }