Ejemplo n.º 1
0
 public GradService(IMapper mapper,
                    HealthCare020DbContext dbContext,
                    IPropertyMappingService propertyMappingService,
                    IPropertyCheckerService propertyCheckerService,
                    IHttpContextAccessor httpContextAccessor,
                    IAuthService authService) : base(mapper, dbContext, propertyMappingService, propertyCheckerService, httpContextAccessor, authService)
 {
 }
Ejemplo n.º 2
0
 public BaseService(IMapper mapper, HealthCare020DbContext dbContext, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService,
                    IAuthService authService)
 {
     _mapper    = mapper;
     _dbContext = dbContext;
     _propertyMappingService = propertyMappingService;
     _propertyCheckerService = propertyCheckerService;
     _authService            = authService;
 }
 public LicniPodaciService(IMapper mapper,
                           HealthCare020DbContext dbContext,
                           IPropertyMappingService propertyMappingService,
                           IPropertyCheckerService propertyCheckerService,
                           IHttpContextAccessor httpContextAccessor,
                           IAuthService authService, IFaceRecognitionService faceRecognitionService) : base(mapper, dbContext, propertyMappingService, propertyCheckerService, httpContextAccessor, authService)
 {
     _faceRecognitionService = faceRecognitionService;
 }
 public RadnikService(HealthCare020DbContext dbContext,
                      ICRUDService <LicniPodaci, LicniPodaciDto, LicniPodaciDto, LicniPodaciResourceParameters, LicniPodaciUpsertDto, LicniPodaciUpsertDto> licniPodaciService,
                      IKorisnikService korisnikService, IMapper mapper)
 {
     _dbContext          = dbContext;
     _licniPodaciService = licniPodaciService;
     _korisnikService    = korisnikService;
     _mapper             = mapper;
 }
        public static bool Seed(HealthCare020DbContext context)
        {
            if (!context.Database.CanConnect())
            {
                context.Database.Migrate();
                return(true);
            }

            return(false);
        }
Ejemplo n.º 6
0
 public ZahtevZaPosetuService(IMapper mapper, HealthCare020DbContext dbContext,
                              IPropertyMappingService propertyMappingService,
                              IPropertyCheckerService propertyCheckerService,
                              IHttpContextAccessor httpContextAccessor,
                              IAuthService authService,
                              ISMSGateway smsGateway)
     : base(mapper, dbContext, propertyMappingService, propertyCheckerService, httpContextAccessor, authService)
 {
     _smsGateway = smsGateway;
 }
 public PacijentNaLecenjuService(IMapper mapper,
                                 HealthCare020DbContext dbContext,
                                 IPropertyMappingService propertyMappingService,
                                 IPropertyCheckerService propertyCheckerService,
                                 IHttpContextAccessor httpContextAccessor,
                                 IAuthService authService,
                                 ICRUDService <LicniPodaci, LicniPodaciDto, LicniPodaciDto, LicniPodaciResourceParameters, LicniPodaciUpsertDto, LicniPodaciUpsertDto> licniPodaciService)
     : base(mapper, dbContext, propertyMappingService, propertyCheckerService, httpContextAccessor, authService)
 {
     _licniPodaciService = licniPodaciService;
 }
Ejemplo n.º 8
0
 public DoktorService(IMapper mapper, HealthCare020DbContext dbContext,
                      IPropertyMappingService propertyMappingService,
                      IPropertyCheckerService propertyCheckerService,
                      IRadnikService radnikService,
                      IHttpContextAccessor httpContextAccessor,
                      IAuthService authService,
                      IKorisnikService korisnikService) : base(mapper, dbContext, propertyMappingService, propertyCheckerService, httpContextAccessor, authService)
 {
     _radnikService   = radnikService;
     _korisnikService = korisnikService;
 }
Ejemplo n.º 9
0
 public KorisnikService(IMapper mapper,
                        HealthCare020DbContext dbContext,
                        IPropertyMappingService propertyMappingService,
                        IPropertyCheckerService propertyCheckerService,
                        IHttpContextAccessor httpContextAccessor,
                        ISecurityService securityService,
                        IAuthService authService,
                        IFaceRecognitionService faceRecognitionService)
     : base(mapper, dbContext, propertyMappingService, propertyCheckerService, httpContextAccessor, authService)
 {
     _securityService        = securityService;
     _faceRecognitionService = faceRecognitionService;
 }
Ejemplo n.º 10
0
 public AuthService(IHttpContextAccessor httpContextAccessor, HealthCare020DbContext dbContext)
 {
     _httpContextAccessor = httpContextAccessor;
     _dbContext           = dbContext;
 }