예제 #1
0
        public IActionResult ServiceEventDetail(ServiceEventViewModel model)
        {
            if (!ModelState.IsValid)
            {
                return(View(model));
            }

            _unitOfWork.SaveServiceEvent(model);
            return(View("ServiceEventList", _unitOfWork.GetCarByIdWithLists(model.CarId)));
        }