public Dashboard GetDashboardDeliveryCount(string startDate, string endDate)
        {
            InputParameter param = new InputParameter
            {
                CompanyId = userService.GetLoggdInUser().CompanyId,
                BranchId  = userService.GetLoggdInUser().BranchId,
                FromDate  = startDate,
                ToDate    = endDate
            };

            param.Customer = "-1";
            if (userService.GetLoggdInUser().Role == "Customer")
            {
                param.Customer = userService.GetLoggdInUser().CustomerId.Value.ToString();
            }
            var dashboardData = deliveryRepository.GetDashboardDeliveryCount(param);

            return((dashboardData != null) ? dashboardData : new Dashboard());
        }