public HttpResponseMessage CheckError() { var dateStart = DateTime.Now; _performancelog.Debug($"Start,SystemController,ClearErrorLog,{string.Empty},{dateStart:hh.mm.ss.ffffff}"); var response = _mainManager.CheckErrorLog(); _performancelog.Debug($"End,SystemController,ClearErrorLog,{DateTime.Now.Subtract(dateStart).TotalMilliseconds},{DateTime.Now:hh.mm.ss.ffffff}"); return(Request.CreateResponse(HttpStatusCode.OK, response)); }