public async Task <ActionResult> DeleteAllErrors()
        {
            await _errorLog.DeleteAllErrors();

            return(Ok());
        }
 public RedirectToRouteResult DeleteAllErrorLog()
 {
     _errorLogService.DeleteAllErrors();
     return(RedirectToAction("ErrorLog"));
 }
Example #3
0
 public ActionResult DeleteAllErrors()
 {
     _errorLog.DeleteAllErrors();
     return(Ok());
 }