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