public void ModelUpdate(ModelBLL ModelToEdit) { ModelDAL Model = new ModelDAL(); Model = ModelToEdit.ToDAL(); _context.ModelUpdate(Model); }
public int ModelCreate(ModelBLL InputModel) { ModelDAL Model = new ModelDAL(); Model = InputModel.ToDAL(); return(_context.ModelCreate(Model)); }