public IHttpActionResult GetQuotation(int id) { try { SpecialistManager manager = new SpecialistManager(); List <Quotation> lista = manager.Quotations(id); GetQuotations temp; temp.quotations = lista; return(Ok(temp)); } catch (Exception e) { return(NotFound()); } }