public async Task <Result <User> > ValidateUserPassword(string userName, string password) { var webApiClient = new WebApiClient <User>(); return(await webApiClient.AuthenticateAsync(userName, password)); }
public async Task <Result <PersonDetail> > GetPerson(int personId) { var webApiClient = new WebApiClient <PersonDetail>(); return(await webApiClient.GetAsync("person", personId.ToString())); }