public IHttpActionResult GetAllAvailableWithTypeCount() { try { var x = repo.GetAvailableWithCount(); return(Ok(x)); } catch (Exception) { return(NotFound()); } }