public IActionResult GetAllCustomers()
 {
     try
     {
         return(Ok(_mapper.ParseCustomer(_customerService.GetAllCustomers())));
     }
     catch (Exception)
     {
         return(BadRequest());
     }
 }
 public Model.Customer AddCustomer(Model.Customer newCustomer)
 {
     _context.Customers.Add(_mapper.ParseCustomer(newCustomer));
     _context.SaveChanges();
     return(newCustomer);
 }