public GamesController(IGameServices gameServices, IGenreServices genreServices, ICommentsServices commentsServices, IPlatformServices platformServices) { comments = commentsServices; games = gameServices; genres = genreServices; platforms = platformServices; }
public SeedDataAlexDb(IUnitOfWork unitOfWork, ICommentsServices commentsServices, string userId) { this.UnitOfWork = unitOfWork; this.CommentsServices = commentsServices; this.UserId = userId; //this.Author = author; this.Categories = new List <Category>(); this.Topics = new List <Topic>(); this.Brands = new List <Brand>(); this.Supplements = new List <Supplement>(); this.Comments = new List <Comment>(); }
public CommentsManagementPresenter(ICommentsManagementView view, ICommentsServices commentsServices) : base(view) { if (commentsServices == null) { throw new ArgumentNullException(nameof(ICommentsServices)); } this.commentsServices = commentsServices; this.View.OnCommentsGetData += this.View_OnCommentsGetData; this.View.OnCommentsUpdateItem += this.View_OnCommentsUpdateItem; this.View.OnCommentsDeleteItem += this.View_OnCommentsDeleteItem; }
public CommentsController(ICommentsServices commentsServices) { this.commentsServices = commentsServices; }
public ViewComment() { this.commentsServices = NinjectWebCommon.Kernel.Get <ICommentsServices>(); }
public Comment(ICommentsServices commentsServices) { this._commentsServices = commentsServices; }