예제 #1
0
        static List <TotalRevenueModel> GetTotalRevenueDataByClientId(string clientId, DateTime from, DateTime to)
        {
            Logger.Info("Get Total Revenue Data for Client Id " + clientId);
            var registryDAL        = new RegistryDAL(_iconfiguration);
            int client             = Convert.ToInt32(clientId);
            var totalRevenueModels = registryDAL.GetTotalRevenueData(client, from, to);

            return(totalRevenueModels);
        }
예제 #2
0
        private static List <ListsCreatedModel> GetListsCreatedDataByClientId(string clientId, DateTime from, DateTime to)
        {
            Logger.Info("Get Lists Created Data for Client Id " + clientId);
            var registryDAL        = new RegistryDAL(_iconfiguration);
            int client             = Convert.ToInt32(clientId);
            var listsCreatedModels = registryDAL.GetListsCreatedData(client, from, to);

            return(listsCreatedModels);
        }
예제 #3
0
        static List <PopularProductsModel> GetPopularProductsDataByClientId(string clientId, DateTime from, DateTime to)
        {
            Logger.Info("Get Popular Products Data for Client Id " + clientId);
            var registryDAL           = new RegistryDAL(_iconfiguration);
            int client                = Convert.ToInt32(clientId);
            var popularProductsModels = registryDAL.GetPopularProductsData(client, from, to);

            return(popularProductsModels);
        }