Пример #1
0
        public async Task <ActionResult> Dashborad4Manager()
        {
            string empid = Session["LoginId"].ToString();
            var    Dash  = new DashboradViewModel();

            Dash = await _orderProvider.GetDashboradDisplay(empid);

            var Orderlist = await _orderProvider.GetOrderByDate(empid);

            var OrdercountList = new List <DashboradBottomViewModel>();

            OrdercountList = await _orderProvider.GetDashboradBottomDisplay(empid);

            ViewBag.DashNav    = Dash;
            ViewBag.OrderList  = Orderlist;
            ViewBag.OrderCount = OrdercountList;
            return(View());
        }