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; }
public DashboardController(ChartProvider chartProvider) { this.chartProvider = chartProvider; }
public HttpStatusCode ChartGenerate(out string chartUrl, ChartProvider chartProvider, string chartBody) { HttpStatusCode resultCode = HttpPost($"Chart/Generate/{chartProvider.ToString()}", chartBody, out chartUrl); return(resultCode); }