コード例 #1
0
        public PageSubscriberDashboardController(IPageSubscriberDashboardRepository PageSubscriberDashboardRepository, ILogManager logger, IHttpContextAccessor accessor)
        {
            _PageSubscriberDashboardRepository = PageSubscriberDashboardRepository;
            _logger = logger;

            if (accessor.HttpContext.Request.Query.ContainsKey("entityid"))
            {
                _entityId = int.Parse(accessor.HttpContext.Request.Query["entityid"]);
            }
        }
コード例 #2
0
 public PageSubscriberDashboardManager(IPageSubscriberDashboardRepository PageSubscriberDashboardRepository, ISqlRepository sql)
 {
     _PageSubscriberDashboardRepository = PageSubscriberDashboardRepository;
     _sql = sql;
 }