/// <summary> /// Update a Operators. /// </summary> public void Update(Model.Operators operators) { BL.OperationRoleManager operationRoleManager = new Book.BL.OperationRoleManager(); // // todo: add other logic here. // operators.UpdateTime = DateTime.Now; accessor.Update(operators); //operationRoleManager.Delete(operators); }
/// <summary> /// Delete Operators by primary key. /// </summary> public void Delete(Model.Operators operators) { BL.OperationRoleManager operationRoleManager = new Book.BL.OperationRoleManager(); // // todo:add other logic here // operationRoleManager.Delete(operators); accessor.Delete(operators.OperatorsId); }