public EpuletService(StrategyGameContext context, UserManager <StrategyGameUser> userManager, ICommonService commonService, IMapper mapper) { _context = context; _userManager = userManager; _commonService = commonService; _mapper = mapper; }
public RegistrationService( UserManager <StrategyGameUser> userManager, SignInManager <StrategyGameUser> signInManager, StrategyGameContext context, IJWTService jwtService, IOrszagService orszagService ) { _userManager = userManager; _signInManager = signInManager; _context = context; _jwtService = jwtService; _orszagService = orszagService; }
public OrszagService(StrategyGameContext context, UserManager <StrategyGameUser> userManager, IMapper mapper, IEgysegService egysegService, IEpuletService epuletService, ICommonService commonService, IGlobalService globalService) { _context = context; _mapper = mapper; _userManager = userManager; _egysegService = egysegService; _epuletService = epuletService; _commonService = commonService; _globalService = globalService; }
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env, StrategyGameContext ctx) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } app.UseCors(MyAllowSpecificOrigins); app.UseSwagger(); app.UseSwaggerUI(c => { c.SwaggerEndpoint("./swagger/v0.1/swagger.json", "UnderSea API v0.1"); c.RoutePrefix = string.Empty; }); app.UseAuthentication(); app.UseMvc(); //ctx.Database.EnsureCreated(); }
public CommonService(StrategyGameContext strategyGameContext) { _context = strategyGameContext; }
/// <summary> /// /// </summary> //class EgysegAr //{ // public EgysegTipus Tipus { get; set; } // public long Ar { get; set; } //} //bool checkArak() //{ // + ContextBoundObject.EgysegAr(g tipus> == asd).Ar //} ///// <summary> /// /// </summary> public EgysegService(StrategyGameContext context, IMapper mapper, ICommonService commonService) { _context = context; _mapper = mapper; _commonService = commonService; }
public TestController(StrategyGameContext context, IMapper mapper) { _context = context; _mapper = mapper; }
public CountryService(StrategyGameContext context) { _context = context; }
public GameService(StrategyGameContext context) { _context = context; }
public GlobalService(StrategyGameContext context, ICommonService commonService, IMapper mapper) { _context = context; _commonService = commonService; _mapper = mapper; }
public EndTurnService(StrategyGameContext context, IMapper mapper) { _context = context; _mapper = mapper; }