public WoodFurnitureOrder Create(WoodFurnitureOrder model)
        {
            _ctx.WoodFurnitureOrders.Add(model);

            _ctx.SaveChanges();

            return(model);
        }
        public WoodType Create(WoodType model)
        {
            _ctx.WoodTypes.Add(model);

            _ctx.SaveChanges();

            return(model);
        }
示例#3
0
        public Customer Create(Customer model)
        {
            _ctx.Customers.Add(model);

            _ctx.SaveChanges();

            return(model);
        }
        public Epoxy Create(Epoxy model)
        {
            _ctx.Epoxys.Add(model);

            _ctx.SaveChanges();

            return(model);
        }
        public FurnitureType Create(FurnitureType model)
        {
            _ctx.FurnitureTypes.Add(model);

            _ctx.SaveChanges();

            return(model);
        }