public CarService( IDeletableEntityRepository <Car> carRepository, IModelService modelServices, IInterventionService serviceIntervention) { this.carRepository = carRepository; this.modelServices = modelServices; this.serviceIntervention = serviceIntervention; }
public ViewAViewModel(INavigationService navigationService, IRealmManager realmManager, IInterventionService interventionService) : base(navigationService) { Title = "Interventions : "; this.realmManager = realmManager; this.interventionService = interventionService; }
public JournalsController(IJournalService journalService, IMapper mapper, IInterventionService interventionService, IHubContext <InterventionHub> interventionHub) { _journalService = journalService; _mapper = mapper; _interventionService = interventionService; _interventionHub = interventionHub; }
public DashboardController(IUserService userService, IInterventionService interventionService) { _userService = userService; _interventionService = interventionService; }
public CompletedCarsInCurrentMunthViewComponent(IInterventionService interventionService) { this.interventionService = interventionService; }
/// <summary> /// Initialise an instance of the manager service from connection string /// </summary> /// <param name="connstring">The connection string to the database</param> public ManagerService(string identityId) : base() { managerIdentityId = new Guid(identityId); managerId = Users.fetchUserByIdentityId(managerIdentityId).Id; interventionService = new InterventionService(); }
public ServicesController(IInterventionService interventionService) { this.interventionService = interventionService; }
/// <summary> /// Initialise a engineer service and intervention service from connection string and identity id /// </summary> /// <param name="identityId">identity id of the logged in user</param> public EngineerService(string identityId) : base() { EngineerIdentityId = new Guid(identityId); interventionService = new InterventionService(); }
public InterventionsController(IInterventionService interventionService, IMapper mapper, IHubContext <InterventionHub> interventionHub) { _interventionService = interventionService; _mapper = mapper; _interventionHub = interventionHub; }