public TransportRulesController( ITransportRuleService serv, ITransportCostRuleService costServ, IMapper map) : base(serv, map) { _costServ = costServ; }
public TransportRulesController( ITransportRuleService serv, ITransportCostRuleService costServ, IMapper map) { this.serv = serv; _costServ = costServ; this.map = map; }
public void AddTransportRule() { // DEPENDENCIES _servTR = container.GetRequiredService <ITransportRuleService>(); // ARRANGE _tr = (TransportRule)Records.transportRule.Clone(); // ACT _servTR.Create(_tr, _user); }
public OnlineOrdersService( IWorkOrderService woServ, ITransportRuleService trServ, ITransportProvidersService tpServ ) { //this.eserv = eServ; this.woserv = woServ; this.trServ = trServ; this.tpServ = tpServ; }
public OnlineOrdersController( IOnlineOrdersService serv, IEmployerService eServ, IWorkOrderService woServ, ITransportRuleService trServ, IMapper map, IConfigService cServ) { this.serv = serv; this.eServ = eServ; this.woServ = woServ; this.trServ = trServ; this.map = map; this.cServ = cServ; }
public FluentRecordBase AddTransportRule( ) { // // DEPENDENCIES _servTR = container.Resolve <ITransportRuleService>(); // // ARRANGE _tr = (TransportRule)Records.transportRule.Clone(); // // ACT _servTR.Create(_tr, _user); return(this); }
public OnlineOrdersService( IWorkOrderService woServ, IWorkAssignmentService waServ, ITransportRuleService trServ, ITransportProvidersService tpServ, ILookupService lServ, IMapper map) { this.map = map; //this.eserv = eServ; this.woserv = woServ; this.waserv = waServ; this.trServ = trServ; this.tpServ = tpServ; this.lServ = lServ; }