Example #1
0
        public async Task <IActionResult> GetRepairByTruck(int id)
        {
            var _repairs = await _repairRepository.GetRepairs(await _truckRepository.GetTruck(id));

            return(RedirectToAction("IndexRepair", new { repairs = _repairs }));
        }