public HomeController(ICarousel carouselService, IProduct productService, INewsService newsService, ISuccess successService, IndexAdvantageIDAL advantageService, IndexMainBusinessIDAL mainbussinessService) { _carouselService = carouselService; _productService = productService; _newsService = newsService; _successService = successService; _advantageService = advantageService; _mainbussinessService = mainbussinessService; }
public Game(IFootballDatabase database, IBall ball) { db = database; players = new List <Player>(); this.ball = ball; Deck = new Deck(db); success = new Success(this); MovesLeft = MOVES_AMOUNT; }
public override void Accept(ISuccess success) => success.Apply(this, WasSuccessfullyExecuted);
public SuccessController(ISuccess successService, IFriendlyLink friendlylinkservice, IProduct product) { _successService = successService; _friendlylinkservice = friendlylinkservice; _product = product; }
public abstract void Accept(ISuccess success);