Пример #1
0
 public HomeController(ILogger <HomeController> logger, IVpnRepo vpnRepo, IServersRepo serverRepo, IClientRepo clientRepo, IMapper mapper, UserManager <IdentityUser> userManager, IUserRepo userRepo)
 {
     _logger      = logger;
     _vpnRepo     = vpnRepo;
     _serverRepo  = serverRepo;
     _clientRepo  = clientRepo;
     _mapper      = mapper;
     _userManager = userManager;
     _userRepo    = userRepo;
 }
 public ServerController(IServersRepo serverRepo, IMapper mapper, IClientRepo clientRepo)
 {
     _serverRepo = serverRepo;
     _mapper     = mapper;
     _clientRepo = clientRepo;
 }