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

            return(command.Execute());
        }
Пример #2
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());
        }