public QueryResult LookupEnumByType(string enumTypeId, QueryParamArg queryParamArg) { queryParamArg.SetDefaultSortColumn("SequenceId"); var enums = ModelManagementContext() .Enumerations.Where(t => string.IsNullOrEmpty(enumTypeId) || t.EnumerationTypeId == enumTypeId); return(enums.QueryResultList <KeyDescription>(queryParamArg)); }
public QueryResult Execute() { QueryParamArg.SetDefaultSortColumn("SequenceId"); return(new CommonDataQueryAppService().ListStatusItem(StatusTypeId, QueryParamArg)); }
public QueryResult Execute() { QueryParamArg.SetDefaultSortColumn(); return(new CommonDataQueryAppService().ListOfferItemType(OfferTypeId, QueryParamArg)); }