public StatisticController(ApplicationContext appContext, ChartProvider chartProvider, UserManager <User> userManager,
                            IStringLocalizer <StatisticController> localizerStatisticController, IStringLocalizer <SharedResource> localizerShared, IStringLocalizer <SharedErrorMessages> localizerErrorMessages)
 {
     this.appContext    = appContext;
     this.chartProvider = chartProvider;
     this.userManager   = userManager;
     this.localizerStatisticController = localizerStatisticController;
     this.localizerShared        = localizerShared;
     this.localizerErrorMessages = localizerErrorMessages;
 }
Ejemplo n.º 2
0
 public DashboardController(ChartProvider chartProvider)
 {
     this.chartProvider = chartProvider;
 }
Ejemplo n.º 3
0
        public HttpStatusCode ChartGenerate(out string chartUrl, ChartProvider chartProvider, string chartBody)
        {
            HttpStatusCode resultCode = HttpPost($"Chart/Generate/{chartProvider.ToString()}", chartBody, out chartUrl);

            return(resultCode);
        }