public ActionResult GetWarehouseList()
        {
            IEnumerable <WarehouseDTO> warehousesDomains = _warehouseBusiness.GetAllWarehouseByOrgId(1).Select(ware => new WarehouseDTO
            {
                Id             = ware.Id,
                WarehouseName  = ware.WarehouseName,
                Remarks        = ware.Remarks,
                StateStatus    = (ware.IsActive == true ? "Active" : "Inactive"),
                OrganizationId = ware.OrganizationId
            }).ToList();
            List <WarehouseViewModel> warehouseViewModels = new List <WarehouseViewModel>();

            AutoMapper.Mapper.Map(warehousesDomains, warehouseViewModels);
            return(View(warehouseViewModels));
        }
        public ActionResult GetReqInfoList()
        {
            ViewBag.ddlWarehouse = _warehouseBusiness.GetAllWarehouseByOrgId(OrgId).Select(ware => new SelectListItem {
                Text = ware.WarehouseName, Value = ware.Id.ToString()
            }).ToList();

            ViewBag.ddlLineNumber = _productionLineBusiness.GetAllProductionLineByOrgId(OrgId).Select(line => new SelectListItem {
                Text = line.LineNumber, Value = line.LineId.ToString()
            }).ToList();

            ViewBag.ddlStateStatus = Utility.ListOfReqStatus().Where(status => status.value != "Pending").Select(st => new SelectListItem
            {
                Text  = st.text,
                Value = st.value
            }).ToList();

            return(View());
        }