public HomeController(IRepositoryApi <TruckTypeModel> repositoryTruckType, IRepositoryApi <ServiceTypeModel> repositoryServiceType, IRepositoryApi <UnitMeasurementModel> repositoryUnitMeasurement)
        {
            this.repositoryTruckType       = repositoryTruckType;
            this.repositoryServiceType     = repositoryServiceType;
            this.repositoryUnitMeasurement = repositoryUnitMeasurement;

            // inicializar el entorno de la aplicacion de la solicitud API al TMS Services
            initVarEnviroment(DevelopmentEnvironment.IISExpressServer);
        }
 public CarrierController(IRepositoryApi <CarrierModel> repositoryCarrier, IRepositoryApi <TruckTypeModel> repositoryTruckType, IRepositoryApi <MacroRouteModel> repositoryRoute)
 {
     this.repositoryCarrier   = repositoryCarrier;
     this.repositoryTruckType = repositoryTruckType;
     this.repositoryRoute     = repositoryRoute;
 }
示例#3
0
 public ClientController(IRepositoryApi <QuotationModel> repositoryQuotation, IRepositoryApi <QuotationViewModel> repositoryQuotationViewModel, IRepositoryApi <ClientModel> clientRepository)
 {
     this.quotationRepository          = repositoryQuotation;
     this.quotationViewModelRepository = repositoryQuotationViewModel;
     this.clientRepository             = clientRepository;
 }
 public HomeController(IRepositoryApi <TruckTypeModel> repositoryTruck
                       , IRepositoryApi <MacroRouteModel> repositoryRoute)
 {
     this.repositoryTruck = repositoryTruck;
     this.repositoryRoute = repositoryRoute;
 }