public async Task <ActionResult> DeleteAllErrors() { await _errorLog.DeleteAllErrors(); return(Ok()); }
public RedirectToRouteResult DeleteAllErrorLog() { _errorLogService.DeleteAllErrors(); return(RedirectToAction("ErrorLog")); }
public ActionResult DeleteAllErrors() { _errorLog.DeleteAllErrors(); return(Ok()); }