public async Task <IActionResult> Delete(string languageId) { var result = await _tenantLanguageService.Delete(CurrentUser.TenantId, languageId); if (result.Code <= 0) { return(BadRequest(result)); } return(Ok(result)); }
public async Task <IActionResult> RemoveLanguage(string id, string languageId) { var result = await _tenantLanguageService.Delete(id, languageId); if (result.Code <= 0) { return(BadRequest(result)); } return(Ok(result)); }