コード例 #1
0
ファイル: UserService.cs プロジェクト: cleanwood/Gerontocracy
 public UserService(
     GerontocracyContext context,
     IAccountService accountService,
     IMapper mapper)
 {
     this._context        = context;
     this._accountService = accountService;
     this._mapper         = mapper;
 }
コード例 #2
0
 public AccountService(
     IMailService mailService,
     IMapper mapper,
     GerontocracyContext context,
     UserManager <db.Account.User> userManager,
     SignInManager <db.Account.User> signInManager,
     RoleManager <db.Account.Role> roleManager,
     ILogger <AccountService> logger)
 {
     this._mailService   = mailService;
     this._mapper        = mapper;
     this._context       = context;
     this._userManager   = userManager;
     this._signInManager = signInManager;
     this._roleManager   = roleManager;
     this._logger        = logger;
 }
コード例 #3
0
 public PartyService(GerontocracyContext context)
 {
     _context = context;
 }
コード例 #4
0
 public AffairService(GerontocracyContext context, IMapper mapper, IAccountService accountService)
 {
     _context        = context;
     _mapper         = mapper;
     _accountService = accountService;
 }
コード例 #5
0
 public BoardService(IMapper mapper, GerontocracyContext context, IAccountService accountService)
 {
     _mapper         = mapper;
     _context        = context;
     _accountService = accountService;
 }
コード例 #6
0
ファイル: NewsService.cs プロジェクト: cleanwood/Gerontocracy
 public NewsService(IMapper mapper, GerontocracyContext context, IAccountService accountService)
 {
     this._context        = context;
     this._mapper         = mapper;
     this._accountService = accountService;
 }