示例#1
0
 /// <summary>
 /// JposController
 /// </summary>
 /// <param name="userRepository"></param>
 /// <param name="setting"></param>
 /// <param name="programReository"></param>
 public JposController(IUserRepository userRepository, IGeneralSettingService setting, IPrograms programReository)
 {
     _userRepository    = userRepository;
     _setting           = setting;
     _programRepository = programReository;
 }
示例#2
0
 public PlanService(IDatabaseConnectionFactory databaseConnectionFactory, IConfiguration configuration, ILoggerManager logger,
                    IMapper mapper, IPlanProgramAccountLinkingService planProgramAccount, IPrograms program, ISharedJPOSService sharedJPOSService,
                    IProgramAccountService programAccounts)
     : base(databaseConnectionFactory)
 {
     _databaseConnectionFactory = databaseConnectionFactory ?? throw new ArgumentNullException(nameof(databaseConnectionFactory));
     _configuration             = configuration;
     _logger             = logger;
     _mapper             = mapper;
     _planProgramAccount = planProgramAccount;
     _program            = program;
     _sharedJPOSService  = sharedJPOSService;
     _programAccounts    = programAccounts;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="userManager"></param>
 /// <param name="claimsFactory"></param>
 /// <param name="program"></param>
 /// <param name="photos"></param>
 /// <param name="configuration"></param>
 /// <param name="logger"></param>
 public IdentityClaimsProfileService(UserManager <User> userManager, IUserClaimsPrincipalFactory <User> claimsFactory, IPrograms program, IPhotos photos
                                     , IConfiguration configuration, ILoggerManager logger)
 {
     _userManager   = userManager;
     _claimsFactory = claimsFactory;
     _program       = program;
     _entityPhotos  = photos;
     _configuration = configuration;
     _logger        = logger;
 }