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"]); } }
public PageSubscriberDashboardManager(IPageSubscriberDashboardRepository PageSubscriberDashboardRepository, ISqlRepository sql) { _PageSubscriberDashboardRepository = PageSubscriberDashboardRepository; _sql = sql; }