public IHttpActionResult GetArchive([FromBody] string path) { try { service.GetArchive(path); return(Ok()); } catch (Exception ex) { Console.WriteLine(ex); return(BadRequest()); } }