ow
This commit is contained in:
1 parent
d2c2b3cf59
commit
4359903d9c
33 files changed
+2708
-246
No files matched your search
@@ -53,6 +53,33 @@ this.localeService= localeService;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class FindSelectOptionCompositionData
|
||||
{
|
||||
public string groupName { get; set; }
|
||||
public bool blank { get; set; }
|
||||
|
||||
}
|
||||
[AllowAnonymous]
|
||||
[HttpPost]
|
||||
public dynamic FindSelectOption(FindSelectOptionCompositionData compositionData)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
var result = localeService.FindSelectOption(compositionData.groupName,compositionData.blank);
|
||||
return result;
|
||||
}
|
||||
catch (ValidatedException vex)
|
||||
{
|
||||
return vex;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return new ServiceErrorException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
[AllowAnonymous]
|
||||
[HttpPost]
|
||||
public dynamic FindBySearchCriteria(LocaleSearchCriteria criteria)
|
||||
|
||||
Reference in new issue
Block a user