Esempio n. 1
0
        public bool Entry(SalesCustomer salesCustomer)
        {
            int isExecuted = 0;

            db.SalesCustomers.Add(salesCustomer);
            isExecuted = db.SaveChanges();

            if (isExecuted > 0)
            {
                return(true);
            }

            return(false);
        }
Esempio n. 2
0
 public bool Entry(SalesCustomer salesCustomer)
 {
     return(_salesRepository.Entry(salesCustomer));
 }