// GET: api/Repairs public IEnumerable <RepairModel> Get(int id) { var service = new RepairsService(); return(service.GetAllRepairsById(id)); }