Esempio n. 1
0
 public async Task <Customer> GetCustomer(string userId)
 {
     try
     {
         return(await GetRepo.CustomersRepo().GetCustomer(userId));
     }
     catch
     {
         throw;
     }
 }
Esempio n. 2
0
 public async Task <int> RegisterCustomer(Customer user)
 {
     try
     {
         return(await GetRepo.CustomersRepo().RegisterCustomer(user));
     }
     catch
     {
         throw;
     }
 }