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