Ejemplo n.º 1
0
 public GetDailySalesOutput GetDailySales()
 {
     return(new GetDailySalesOutput
     {
         DailySales = DashboardRandomDataGenerator.GetRandomArray(30, 10, 50)
     });
 }
Ejemplo n.º 2
0
 public GetProfitShareOutput GetProfitShare()
 {
     return(new GetProfitShareOutput
     {
         ProfitShares = DashboardRandomDataGenerator.GetRandomPercentageArray(3)
     });
 }
Ejemplo n.º 3
0
 public GetMemberActivityOutput GetMemberActivity()
 {
     return(new GetMemberActivityOutput
            (
                DashboardRandomDataGenerator.GenerateMemberActivities()
            ));
 }
Ejemplo n.º 4
0
 public GetGeneralStatsOutput GetGeneralStats()
 {
     return(new GetGeneralStatsOutput
     {
         TransactionPercent = DashboardRandomDataGenerator.GetRandomInt(10, 100),
         NewVisitPercent = DashboardRandomDataGenerator.GetRandomInt(10, 100),
         BouncePercent = DashboardRandomDataGenerator.GetRandomInt(10, 100)
     });
 }
Ejemplo n.º 5
0
 public GetTopStatsOutput GetTopStats()
 {
     return(new GetTopStatsOutput
     {
         TotalProfit = DashboardRandomDataGenerator.GetRandomInt(5000, 9000),
         NewFeedbacks = DashboardRandomDataGenerator.GetRandomInt(1000, 5000),
         NewOrders = DashboardRandomDataGenerator.GetRandomInt(100, 900),
         NewUsers = DashboardRandomDataGenerator.GetRandomInt(50, 500)
     });
 }
Ejemplo n.º 6
0
        public GetSalesSummaryOutput GetSalesSummary(GetSalesSummaryInput input)
        {
            var salesSummary = DashboardRandomDataGenerator.GenerateSalesSummaryData(input.SalesSummaryDatePeriod);

            return(new GetSalesSummaryOutput(salesSummary)
            {
                Expenses = DashboardRandomDataGenerator.GetRandomInt(0, 3000),
                Growth = DashboardRandomDataGenerator.GetRandomInt(0, 3000),
                Revenue = DashboardRandomDataGenerator.GetRandomInt(0, 3000),
                TotalSales = DashboardRandomDataGenerator.GetRandomInt(0, 3000)
            });
        }
Ejemplo n.º 7
0
        public GetDashboardDataOutput GetDashboardData(GetDashboardDataInput input)
        {
            var output = new GetDashboardDataOutput
            {
                TotalProfit        = DashboardRandomDataGenerator.GetRandomInt(5000, 9000),
                NewFeedbacks       = DashboardRandomDataGenerator.GetRandomInt(1000, 5000),
                NewOrders          = DashboardRandomDataGenerator.GetRandomInt(100, 900),
                NewUsers           = DashboardRandomDataGenerator.GetRandomInt(50, 500),
                SalesSummary       = DashboardRandomDataGenerator.GenerateSalesSummaryData(input.SalesSummaryDatePeriod),
                Expenses           = DashboardRandomDataGenerator.GetRandomInt(5000, 10000),
                Growth             = DashboardRandomDataGenerator.GetRandomInt(5000, 10000),
                Revenue            = DashboardRandomDataGenerator.GetRandomInt(1000, 9000),
                TotalSales         = DashboardRandomDataGenerator.GetRandomInt(10000, 90000),
                TransactionPercent = DashboardRandomDataGenerator.GetRandomInt(10, 100),
                NewVisitPercent    = DashboardRandomDataGenerator.GetRandomInt(10, 100),
                BouncePercent      = DashboardRandomDataGenerator.GetRandomInt(10, 100),
                DailySales         = DashboardRandomDataGenerator.GetRandomArray(30, 10, 50),
                ProfitShares       = DashboardRandomDataGenerator.GetRandomPercentageArray(3)
            };

            return(output);
        }
Ejemplo n.º 8
0
 public GetRegionalStatsOutput GetRegionalStats()
 {
     return(new GetRegionalStatsOutput(
                DashboardRandomDataGenerator.GenerateRegionalStat()
                ));
 }