public ActionResult RegisterVehicle() { var userId = User.Identity.GetUserId(); var vehicle = new Vehicle { ApplicationUserId = userId }; var model = new RegisterVehicleViewModel(vehicle, MarkRepository.Get()); return(View(model)); }
public ActionResult Marks() { var model = MarkRepository.Get(); return(View(model)); }