Example #1
0
 public AppUserService(PasContext Context,
                       ICacheService CacheService,
                       IUniquePatientCodeGenerator UniquePatientCodeGenerator)
 {
     _context      = Context;
     _cacheService = CacheService;
     _uniquePatientCodeGenerator = UniquePatientCodeGenerator;
 }
 public AppAuthorisationService(IHttpContextAccessor HttpContext,
                                PasContext Context,
                                IAppUserService AppUserService,
                                //IActiveUserService activeUserService,
                                //IOrganisationService organisationService,
                                ICacheService cacheService,
                                //UserManager<IdentityUser> UserManager,
                                IUserOrgRoleService UserOrgRoleService
                                //IHttpContextAccessor HttpContextAccessor
                                )
 {
     _httpContext    = HttpContext;
     _context        = Context;
     _appUserService = AppUserService;
     //ActiveUserService = activeUserService;
     _userOrgRoleService = UserOrgRoleService;
     //_organisationService = organisationService;
     _cacheService = cacheService;
     //httpContextAccessor = HttpContextAccessor;
     //_userManager = UserManager;
 }
Example #3
0
 public PrescriptionService(PasContext PasContext, ICacheService CacheService)
 {
     _pasContext   = PasContext;
     _cacheService = CacheService;
 }
Example #4
0
 public PatientService(PasContext PasContext,
                       ICacheService CacheService)
 {
     _pasContext   = PasContext;
     _cacheService = CacheService;
 }
Example #5
0
 public UserOrgRoleService(PasContext DataContext)
 {
     _dataContext = DataContext;
 }
 public DrugService(PasContext Context, ICacheService CacheService)
 {
     _context      = Context;
     _cacheService = CacheService;
 }