private async Task LoadClientAddress(Order order) { var client = await _repositoryClient.Get(order.ClientId.Value); order.Address = client.Address; order.City = client.City; order.ClientName = client.Name; order.Email = client.Email; order.State = client.State; order.ZipCode = client.ZipCode; }
public async Task <Client> Get(string email) { return(await _repositoryClient.Get(email)); }