Beispiel #1
0
 public CarService(
     IDeletableEntityRepository <Car> carRepository,
     IModelService modelServices,
     IInterventionService serviceIntervention)
 {
     this.carRepository       = carRepository;
     this.modelServices       = modelServices;
     this.serviceIntervention = serviceIntervention;
 }
Beispiel #2
0
 public ViewAViewModel(INavigationService navigationService,
                       IRealmManager realmManager,
                       IInterventionService interventionService)
     : base(navigationService)
 {
     Title                    = "Interventions : ";
     this.realmManager        = realmManager;
     this.interventionService = interventionService;
 }
Beispiel #3
0
 public JournalsController(IJournalService journalService,
                           IMapper mapper,
                           IInterventionService interventionService,
                           IHubContext <InterventionHub> interventionHub)
 {
     _journalService      = journalService;
     _mapper              = mapper;
     _interventionService = interventionService;
     _interventionHub     = interventionHub;
 }
Beispiel #4
0
 public DashboardController(IUserService userService, IInterventionService interventionService)
 {
     _userService         = userService;
     _interventionService = interventionService;
 }
Beispiel #5
0
 public CompletedCarsInCurrentMunthViewComponent(IInterventionService interventionService)
 {
     this.interventionService = interventionService;
 }
Beispiel #6
0
 /// <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;
 }
Beispiel #8
0
        /// <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();
        }
Beispiel #9
0
 public InterventionsController(IInterventionService interventionService, IMapper mapper, IHubContext <InterventionHub> interventionHub)
 {
     _interventionService = interventionService;
     _mapper          = mapper;
     _interventionHub = interventionHub;
 }