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