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); }
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); }
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); }