public HomeController(
     IDiagnostic _trace,
     IEndUser _endUser,
     IService _service
     )
 {
     trace   = _trace;
     endUser = _endUser;
     service = _service;
 }
示例#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 UserController(IEndUser endUser)
 {
     this.endUserBusiness = endUser;
 }
 public AccountController(IOptions <Core.Emailer> settingsOptions, IMember member, IEndUser endUser)
 {
     smtp = settingsOptions.Value;
     this.memberBusiness  = member;
     this.endUserBusiness = endUser;
 }