public async Task <IHttpActionResult> TranslateAutoDetect(TranslateRequest request) { var model = await _translationProvider.AutoDetectTranslateAsync(request); if (model == null) { return(NotFound()); } return(Ok(model)); }
public async Task <IHttpActionResult> TranslateAutoDetect(TranslateRequest request) { var model = await _translationProvider.AutoDetectTranslateAsync(request); if (model == null) { return(NotFound()); } return(Ok(model)); }