public List <cstRoleTbl> GetRoleById(Guid Id, csteActionenum action) { cmdUpdateRole command = new cmdUpdateRole(Id, action); return(command.Execute()); }
public cmdUpdateRole(Guid Id, csteActionenum action) { _id = Id; _action = action; }
/// <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()); }
public cmdUpdateRole(cstRoleTbl role, csteActionenum action) { _role = role; _action = action; }