// GET: api/Inspection public IHttpActionResult GetAllInspections() { IEnumerable <object> inspections = inspectionService.GetAll(); return(Ok(inspections)); }