diff --git a/server/AyaNova/Controllers/TranslationController.cs b/server/AyaNova/Controllers/TranslationController.cs index f8f7cc2b..527c824b 100644 --- a/server/AyaNova/Controllers/TranslationController.cs +++ b/server/AyaNova/Controllers/TranslationController.cs @@ -112,22 +112,22 @@ namespace AyaNova.Api.Controllers - // /// - // /// Get Translations list - // /// - // /// List in alphabetical order of all Translations - // [HttpGet("list")] - // public async Task TranslationList() - // { - // if (serverState.IsClosed) - // return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason)); + /// + /// Get Translations list + /// + /// List in alphabetical order of all Translations + [HttpGet("list")] + public async Task TranslationList() + { + if (serverState.IsClosed) + return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason)); - // //Instantiate the business object handler - // TranslationBiz biz = TranslationBiz.GetBiz(ct, HttpContext); + //Instantiate the business object handler + TranslationBiz biz = TranslationBiz.GetBiz(ct, HttpContext); - // var l = await biz.GetTranslationListAsync(); - // return Ok(ApiOkResponse.Response(l)); - // } + var l = await biz.GetTranslationListAsync(); + return Ok(ApiOkResponse.Response(l)); + } #if (DEBUG)