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