public async Task <LoginToken> login(string email, string password) { var token = await LoginTokenTasks.LoginAsync(_context, email, password); if (token == null) { throw AutoApiError.AuthenticationFailure(); } return(token); }
public async Task <LoginToken> login(string email, string password) { var token = await LoginTokenTasks.LoginAsync(_context, email, password); if (token == null) { throw AutoApiError.AuthenticationFailure(); } return(token); }