Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 public async Task <Client> Get(string email)
 {
     return(await _repositoryClient.Get(email));
 }