예제 #1
0
 public EventController(IEventCategory eventCategory,
                        IEvent eventBusiness,
                        IRegistrant registrant,
                        IGroup group,
                        EF.AARSContext context,
                        IMapper mapper)
 {
     this.context = context;
     this.eventCategoryBusiness = eventCategory;
     this.eventBusiness         = eventBusiness;
     this.registrantBusiness    = registrant;
     this.groupBusiness         = group;
     this.mapper = mapper;
 }
예제 #2
0
 public MemberController(IOptions <Core.Emailer> settingsOptions,
                         IMember member,
                         IEndUser endUser,
                         ILookUp lookUp,
                         EF.AARSContext context,
                         IMapper mapper)
 {
     smtp                 = settingsOptions.Value;
     this.context         = context;
     this.memberBusiness  = member;
     this.endUserBusiness = endUser;
     this.lookUpBusiness  = lookUp;
     this.mapper          = mapper;
 }
 public AuthenticationController(IOptions <Core.Emailer> settingsOptions,
                                 IOptions <Core.GoogleReCaptcha> options,
                                 IEndUser endUser,
                                 IMember member,
                                 ICommunity community,
                                 EF.AARSContext context,
                                 IMapper mapper)
 {
     smtp                   = settingsOptions.Value;
     captcha                = options.Value;
     this.context           = context;
     this.endUserBusiness   = endUser;
     this.memberBusiness    = member;
     this.communityBusiness = community;
     this.mapper            = mapper;
 }
예제 #4
0
 public UnitOfWork(EF.AARSContext dbContext)
 {
     _dbContext = dbContext;
 }
예제 #5
0
 public GenericRepository(EF.AARSContext dbContext)
 {
     _dbContext = dbContext;
 }