Exemple #1
0
 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;
 }
 public AccountController(UserServiceFacade userServiceFacade)
 {
     _userServiceFacade = userServiceFacade;
 }