Пример #1
0
 private IActionResult InternalServerErrorResult(Exception exception)
 {
     NotificationContext.Clear();
     NotificationContext.Add(ENotificationType.Error, TextResource.InternalServerError);
     return(StatusCode((int)HttpStatusCode.InternalServerError, GetNotificationResult(true)));
 }