Beispiel #1
0
 public LanguageModel DeleteLanguage(long languageId)
 {
     try
     {
         return(_languageRepository.DeleteLanguage(languageId));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public IActionResult Delete(int id)
 {
     languageRepository.DeleteLanguage(id);
     return(Ok(id));
 }