public async Task <ActionResult> GetLangs() { try { return(Ok(await langRepository.GetLangs())); } catch (DbUpdateException Ex) { return(StatusCode(StatusCodes.Status500InternalServerError, Ex.InnerException.Message)); } }
public async Task <ActionResult> GetLangs() { try { return(Ok(await langRepository.GetLangs())); } catch (DbUpdateException Ex) { return(StatusCode(StatusCodes.Status500InternalServerError, Ex.InnerException.Message)); } }