public IActionResult GetDoc(string name) { var doc = _services.GetDoc(name); if (doc == null) { return(NotFound("The file with the specified name was not found")); } return(Ok(Map(doc))); }
public IActionResult GetDoc(string name) { var doc = _services.GetDoc(name); if (doc == null) { return(NotFound("The file with the specified name was not found")); } //_logger.LogInformation(DateTime.Now.ToShortDateString() + "\r\n" + // DateTime.Now.ToLongTimeString() + ": Get a file"); return(Ok(Map(doc))); }