Example #1
0
        public bool AddOutlet(DataServices.Data.Entities.Outlet1 outletin)
        {
            var ifOutletNameExists = CheckOutletName(outletin);

            if (ifOutletNameExists == true)
            {
                return(_outletdataservice.AddOutlet(outletin));
            }
            else
            {
                return(false);
            }
        }
Example #2
0
 public bool UpdateOutlet(int id, DataServices.Data.Entities.Outlet1 outlet)
 {
     _outletdataservice.UpdateOutlet(id, outlet);
     return(true);
 }