Пример #1
0
        public List <cstRoleTbl> GetRoleById(Guid Id, csteActionenum action)
        {
            cmdUpdateRole command = new cmdUpdateRole(Id, action);

            return(command.Execute());
        }
Пример #2
0
 public cmdUpdateRole(Guid Id, csteActionenum action)
 {
     _id     = Id;
     _action = action;
 }
Пример #3
0
        /// <summary>
        /// Update RoleType Table
        /// </summary>
        /// <param name="role">int </param>
        /// <param name="action">ActionType enum</param>
        /// <returns>list of table information of RoleType</returns>
        public List <cstRoleTbl> UpdateRole(cstRoleTbl role, csteActionenum action)
        {
            cmdUpdateRole command = new cmdUpdateRole(role, action);

            return(command.Execute());
        }
Пример #4
0
 public cmdUpdateRole(cstRoleTbl role, csteActionenum action)
 {
     _role   = role;
     _action = action;
 }