public LoginController(IWoWDbContext dbContext, IReader reader, IWriter writer, IPasswordHash hasher) { this.dbContext = dbContext; this.reader = reader; this.writer = writer; this.hasher = hasher; }
public Engine(IReader reader, IWriter writer, IControllerFactory controllerFactory, IWoWDbContext dbContext) { this.reader = reader; this.writer = writer; this.controllerFactory = controllerFactory; this.dbContext = dbContext; this.LoggedIn = false; this.CurrentUsername = ""; }
private bool CheckIfPlayerExists(IWoWDbContext dbContext, CharacterJsonModel jsonModel) { var foundPlayer = dbContext.Players .FirstOrDefault(p => p.Username == jsonModel.Player.Username); if (foundPlayer != null) { return(true); } return(false); }
public CreateCharacterController(IWoWDbContext dbContext, ICreateEntity characterCreator, IReader reader, IWriter writer) { this.dbContext = dbContext; this.entityCreator = characterCreator; this.reader = reader; this.writer = writer; this.entityCharacteristics = new List <string>(); this.FactionsInGame = new List <string>(); this.RacesInGame = new List <string>(); this.ProfessionsInGame = new List <string>(); this.ClassesInGame = new List <string>(); }
public CreateProfession(IWoWDbContext dbContext) { this.dbContext = dbContext; }
public CreateRace(IWoWDbContext dbContext) { this.dbContext = dbContext; }
public CreateGender(IWoWDbContext dbContext) { this.dbContext = dbContext; }
public CreateFaction(IWoWDbContext dbContext) { this.dbContext = dbContext; }
public CreateStatus(IWoWDbContext dbContext) { this.dbContext = dbContext; }
public CreateResources(IWoWDbContext dbContext) { this.dbContext = dbContext; }
public CreateNpc(IWoWDbContext dbContext) { this.dbContext = dbContext; }
public CreateZones(IWoWDbContext dbContext) { this.dbContext = dbContext; }
public Importer(IWoWDbContext context) { this.dbContext = context; }
public CreateClass(IWoWDbContext dbContext) { this.dbContext = dbContext; }
public ListCharactersController(IWoWDbContext dbContext, IReader reader, IWriter writer) { this.dbContext = dbContext; this.reader = reader; this.writer = writer; }
public CreateCharacter(IWoWDbContext dbContext) { this.dbContext = dbContext; }
public CreatePlanet(IWoWDbContext dbContext) { this.dbContext = dbContext; }
public PdfExporter(IWoWDbContext context) { this.dbContext = context; }