Example #1
0
        public void ModelUpdate(ModelBLL ModelToEdit)
        {
            ModelDAL Model = new ModelDAL();

            Model = ModelToEdit.ToDAL();
            _context.ModelUpdate(Model);
        }
Example #2
0
        public int ModelCreate(ModelBLL InputModel)
        {
            ModelDAL Model = new ModelDAL();

            Model = InputModel.ToDAL();
            return(_context.ModelCreate(Model));
        }