// GET: RentAssign/Create public ActionResult Create() { var viewModel = new RentAssignViewModel(); if (viewModel != null) { viewModel.GetVehicleData = _utilityManager.GetAllVehicleTypelookUpdata(); viewModel.GetRentReq = _utilityManager.GetRentReq(); return(View(viewModel)); } return(NotFound()); }