Пример #1
0
        public void Insert(StoreLocationView storeLocationModel)
        {
            using (var repo = new StoreLocationRepository())
            {
                var dis = new StoreLocation();
                if (true)
                {
                    dis.LocationId = storeLocationModel.LocationId;
                    dis.Description = storeLocationModel.Description;
                    dis.OpHours = storeLocationModel.OpHours;
                    dis.Address = storeLocationModel.Address;
                    dis.Contact = storeLocationModel.Contact;

                }
                repo.Insert(dis);
            }
        }