Example #1
0
        public DTOKitBrick Create(DTOKitBrick newKitBrick)
        {
            int id = _repo.Create(newKitBrick);

            newKitBrick.Id = id;
            return(newKitBrick);
        }
        public KitBrick Create(KitBrick newKb)
        {
            int id = _repo.Create(newKb);

            newKb.Id = id;
            return(newKb);
        }