コード例 #1
0
ファイル: UserController.cs プロジェクト: Rajab97/WEA
 public UserController(UserManager <User> userManager,
                       RoleManager <Role> roleManager,
                       IUnitOfWork unitOfWork,
                       UserServiceFacade facade,
                       IMapper mapper,
                       IEmailService emailService,
                       SignInManager <User> signInManager,
                       AccountServiceFacade accountServiceFacade,
                       IConfiguration configuration,
                       IWebHostEnvironment webHostEnvironment,
                       IAttachmentService attachmentService,
                       FileServiceFacade fileService)
 {
     _userManager          = userManager;
     _roleManager          = roleManager;
     _unitOfWork           = unitOfWork;
     _facade               = facade;
     _mapper               = mapper;
     _emailService         = emailService;
     _signInManager        = signInManager;
     _accountServiceFacade = accountServiceFacade;
     _configuration        = configuration;
     _webHostEnvironment   = webHostEnvironment;
     _attachmentService    = attachmentService;
     _fileService          = fileService;
 }
コード例 #2
0
 public AccountController(UserServiceFacade userServiceFacade)
 {
     _userServiceFacade = userServiceFacade;
 }