Exemple #1
0
 public GamesController(IGameServices gameServices, IGenreServices genreServices, ICommentsServices commentsServices, IPlatformServices platformServices)
 {
     comments  = commentsServices;
     games     = gameServices;
     genres    = genreServices;
     platforms = platformServices;
 }
Exemple #2
0
        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>();
        }
Exemple #3
0
        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;
        }
Exemple #4
0
 public CommentsController(ICommentsServices commentsServices)
 {
     this.commentsServices = commentsServices;
 }
Exemple #5
0
 public ViewComment()
 {
     this.commentsServices = NinjectWebCommon.Kernel.Get <ICommentsServices>();
 }
 public Comment(ICommentsServices commentsServices)
 {
     this._commentsServices = commentsServices;
 }
 public CommentsController(ICommentsServices commentsServices)
 {
     this.commentsServices = commentsServices;
 }