Example #1
0
 public ActionResult ViewAllStockOutItems()
 {
     if (Request.IsAuthenticated)
     {
         ViewBag.Sold    = stockOutManager.GetSoldItems();
         ViewBag.Damaged = stockOutManager.GetDamagedItems();
         ViewBag.Losed   = stockOutManager.GetLostItems();
         return(View());
     }
     else
     {
         return(HttpNotFound());
     }
 }