/// <summary> /// Initializes a new instance of the <see cref="DbLogic"/> class. /// Sets the intial values of the properties. /// </summary> /// <param name="model">Initial GameModel.</param> /// <param name="drillRepo">Initial DrillRepository.</param> /// <param name="brickRepo">Initial BrickRepository.</param> /// <param name="connRepo">Initial ConnRepository.</param> public DbLogic(GameModel model, IDrillRepository drillRepo, IBrickRepository brickRepo, IConnRepository connRepo) { this.gameModel = model; this.drillRepo = drillRepo; this.brickRepo = brickRepo; this.connRepo = connRepo; }
public BrickController(IBrickRepository _repo) { BrickRepository = _repo; }