예제 #1
0
 public WBIStoreSelectionController()
 {
     _vmMsg       = new ValidationMsg();
     repository   = new UnitOfWork();
     _utility     = new SysCommonUtility();
     _objDalStore = new DalSysStore();
 }
 public CrustedLeatherIssueFromStoreController()
 {
     _unit          = new UnitOfWork();
     _context       = new BLC_DEVEntities();
     _validationMsg = new ValidationMsg();
     _dalInvCrustedLeatherIssueFrom = new DalInvCrustedLeatherIssueFromStore();
     _dalSysStore = new DalSysStore();
 }
예제 #3
0
        public ActionResult GetAllStore()
        {
            DalSysStore objStore = new DalSysStore();

            var allData = objStore.GetAllActiveStore();

            return(Json(allData, JsonRequestBehavior.AllowGet));
        }
예제 #4
0
        public ActionResult GetAllActiveProductionNCrustStore(string issueCategory)
        {
            var storeList = new object();

            switch (issueCategory)
            {
            case "PROD":
                storeList = new DalSysStore().GetAllActiveWetBlueProductionStore();
                break;

            case "SRTF":
                storeList = new DalSysStore().GetAllActiveWetBlueLeatherStore();
                break;
            }
            return(Json(storeList, JsonRequestBehavior.AllowGet));
        }
예제 #5
0
 public StoreController()
 {
     _vmMsg       = new ValidationMsg();
     _dalSysStore = new DalSysStore();
 }