public bool Entry(SalesCustomer salesCustomer) { int isExecuted = 0; db.SalesCustomers.Add(salesCustomer); isExecuted = db.SaveChanges(); if (isExecuted > 0) { return(true); } return(false); }
public bool Entry(SalesCustomer salesCustomer) { return(_salesRepository.Entry(salesCustomer)); }