public static Entities.Customers MapCustomer(Business.Library.Customer customer)
 {
     return(new Entities.Customers
     {
         FirstName = customer.FirstName,
         LastName = customer.LastName
     });
 }
 public static Entities.Customers MapCustomer(Business.Library.Customer customer)
 {
     return(new Entities.Customers
     {
         FirstName = customer.FirstName,
         LastName = customer.LastName,
         User = customer.User,
         Password = customer.Password,
         Id = 0
     });
 }
 public void RemoveCustomer(Business.Library.Customer customer)
 {
     Entities.Customers entity = Mapper.MapCustomer(customer);
     _context.Remove(entity);
 }
 public void AddCustomer(Business.Library.Customer customer)
 {
     Entities.Customers entity = Mapper.MapCustomer(customer);
     _context.Add(entity);
 }