This commit is contained in:
@@ -112,22 +112,22 @@ namespace AyaNova.Api.Controllers
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
// /// <summary>
|
/// <summary>
|
||||||
// /// Get Translations list
|
/// Get Translations list
|
||||||
// /// </summary>
|
/// </summary>
|
||||||
// /// <returns>List in alphabetical order of all Translations</returns>
|
/// <returns>List in alphabetical order of all Translations</returns>
|
||||||
// [HttpGet("list")]
|
[HttpGet("list")]
|
||||||
// public async Task<IActionResult> TranslationList()
|
public async Task<IActionResult> TranslationList()
|
||||||
// {
|
{
|
||||||
// if (serverState.IsClosed)
|
if (serverState.IsClosed)
|
||||||
// return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||||
|
|
||||||
// //Instantiate the business object handler
|
//Instantiate the business object handler
|
||||||
// TranslationBiz biz = TranslationBiz.GetBiz(ct, HttpContext);
|
TranslationBiz biz = TranslationBiz.GetBiz(ct, HttpContext);
|
||||||
|
|
||||||
// var l = await biz.GetTranslationListAsync();
|
var l = await biz.GetTranslationListAsync();
|
||||||
// return Ok(ApiOkResponse.Response(l));
|
return Ok(ApiOkResponse.Response(l));
|
||||||
// }
|
}
|
||||||
|
|
||||||
|
|
||||||
#if (DEBUG)
|
#if (DEBUG)
|
||||||
|
|||||||
Reference in New Issue
Block a user