コード例 #1
0
 public AdminPanelController(
     IAdminPanelService adminpanelService,
     IMapper mapper,
     IOptions <AppSettings> appSettings)
 {
     _adminpanelService = adminpanelService;
     _mapper            = mapper;
     _appSettings       = appSettings.Value;
 }
コード例 #2
0
 public DashboardController(IAdminPanelService adminPanelService)
 {
     _adminPanelService = adminPanelService;
 }
コード例 #3
0
 // Api manegment da buralkar gelmiyor.
 public AdminPanelController(IAdminPanelService adminPanelService)
 => this.AdminPanelService = adminPanelService ?? throw new ArgumentNullException(nameof(adminPanelService));
コード例 #4
0
 public AdminPanelController(IAdminPanelService adminPanelService)
 {
     _adminPanelService = adminPanelService;
 }
コード例 #5
0
 public LoginController(SignInManager <IdentityUser> signInManager, IConfiguration config, UserManager <IdentityUser> userManager, IAdminPanelService adminPanel)
 {
     _signInManager = signInManager;
     _config        = config;
     _userManager   = userManager;
 }