public async Task <List <Document> > GetAllDocumentsSince(string location, string lastChecked) { try { DateTime passThis = DateTime.Parse(lastChecked); return(await _docData.GetAllDocumentsSince(location, passThis)); } catch (Exception ex) { _logger.CreateLogger("error").Log(LogLevel.Error, ex.Message); return(null); } }