public VehiclesController(IVehiclesRepository cr) { Vehicle_list = new List <Customers>(); customerRepository = cr; Vehicle_list = customerRepository.CustomersList(); }
public VehiclesController(IVehiclesRepository cr) { Vehicle_list = new List <Customers>(); customerRepository = cr; Vehicle_list = customerRepository.CustomersList(); }