Пример #1
0
        public ActionResult RegisterVehicle()
        {
            var userId  = User.Identity.GetUserId();
            var vehicle = new Vehicle {
                ApplicationUserId = userId
            };
            var model = new RegisterVehicleViewModel(vehicle, MarkRepository.Get());

            return(View(model));
        }
Пример #2
0
        public ActionResult Marks()
        {
            var model = MarkRepository.Get();

            return(View(model));
        }