public FileModel DeleteFile(int ArticleID, int FileID) { try { return(_context.DeleteFile(ArticleID, FileID)); } catch (SqlException sqlException) { Console.WriteLine(sqlException); throw; } catch (InvalidCastException invalidCastException) { Console.WriteLine(invalidCastException); throw; } }