Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
        /// <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);
        }