Example #1
0
        public BarberEquipment Create(BarberEquipment model)
        {
            _ctx.BarberEquipments.Add(model);
            _ctx.SaveChanges();

            return(model);
        }
        public Barber Create(Barber model)
        {
            _ctx.Barbers.Add(model);
            _ctx.SaveChanges();

            return(model);
        }
        public BarberShop Create(BarberShop model)
        {
            _ctx.BarberShops.Add(model);
            _ctx.SaveChanges();

            return(model);
        }
        public HairCutAppointment Create(HairCutAppointment model)
        {
            _ctx.HairCutAppointments.Add(model);
            _ctx.SaveChanges();

            return(model);
        }