public IActionResult GetAllVersions() { var result = _historySearch.GetAll(); return(result == null?Json(new { Message = "No version available at the moment!", HttpStatusCode.NoContent }) : Json(new { HttpStatusCode.OK, data = result })); }