-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prettify code, add parameters to requests
- Loading branch information
1 parent
414458e
commit e0eaf18
Showing
5 changed files
with
157 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
Apps.XTM/DataSourceHandlers/EnumHandlers/TermColumnsDataHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Blackbird.Applications.Sdk.Utils.Sdk.DataSourceHandlers; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Apps.XTM.DataSourceHandlers.EnumHandlers | ||
{ | ||
public class TermColumnsDataHandler : EnumDataHandler | ||
{ | ||
protected override Dictionary<string, string> EnumValues => new() | ||
{ | ||
{"ABBREVIATION", "Abbreviation"}, | ||
{"CONTEXT", "Context"}, | ||
{"DOMAIN", "Domain"}, | ||
{"LAST_MOD_DATE", "Last mod date"}, | ||
{"REFERENCE", "Reference"}, | ||
{"REMARKS", "Remarks"}, | ||
{"DEFINITION", "Definition"}, | ||
{"LAST_MOD_BY", "Last mod by"}, | ||
{"STATUS", "Status"}, | ||
}; | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
Apps.XTM/DataSourceHandlers/EnumHandlers/TermStatusDataHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using Blackbird.Applications.Sdk.Utils.Sdk.DataSourceHandlers; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Apps.XTM.DataSourceHandlers.EnumHandlers | ||
{ | ||
public class TermStatusDataHandler : EnumDataHandler | ||
{ | ||
protected override Dictionary<string, string> EnumValues => new() | ||
{ | ||
{"ALL", "All"}, | ||
{"VALID", "Valid"}, | ||
{"NOT_APPROVED", "Not approved"}, | ||
{"REJECTED", "Rejected"}, | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters