public IActionResult StockMain()
 {
     try
     {
         var dal = new DalLayer.MasterDbContext(config);
         ViewData["ConnectionString"] = config;
         return(this.GetView("Inventory/StockMain", "StockMain"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public IActionResult RequisitionList()
 {
     try
     {
         var dal = new DalLayer.MasterDbContext(config);
         ViewData["ConnectionString"] = config;
         return(this.GetView("Inventory/InternalMain/RequisitionList", "RequisitionList"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public IActionResult PurchaseOrderItems()
 {
     try
     {
         var dal = new DalLayer.MasterDbContext(config);
         ViewData["ConnectionString"] = config;
         return(this.GetView("Inventory/ExternalMain/PurchaseOrderItems", "PurchaseOrderItems"));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public IActionResult ListLabRequisition()
        {
            try
            {
                var dal = new DalLayer.MasterDbContext(config);

                ViewData["ConnectionString"] = config;
                return(this.GetView("Lab/Requisition", "ListLabRequisition"));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public IActionResult ReturnToVendorItems()
        {
            try
            {
                var dal = new DalLayer.MasterDbContext(config);

                ViewData["ConnectionString"] = config;
                return(View("ReturnToVendorItems"));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        public IActionResult SelectLabTests()
        {
            try
            {
                var dal = new DalLayer.MasterDbContext(config);

                ViewData["ConnectionString"] = config;
                // return this.GetView("Lab/PendingLabResults", "SelectLabTests");
                return(View("SelectLabTests"));
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }