public void GetLocationList(int deptId)
        {
            var retdata = InvokeWcfService(
                "DrugProject.Service",
                "MaterialLocationController",
                "GetLocationList",
                (request) =>
            {
                request.AddData(deptId);
            });

            var locationlist = retdata.GetData <List <MW_Location> >(0);

            frmLocation.GetLocationList(locationlist);
        }
Пример #2
0
        public void GetLocationList(int deptId)
        {
            var retdata = InvokeWcfService(
                "DrugProject.Service",
                "LocationController",
                "GetLocationList",
                (request) =>
            {
                request.AddData(deptId);
            });
            var locationlist = retdata.GetData <List <DG_Location> >(0);

            if (currentfrmName == "FrmLocation")
            {
                frmLocation.GetLocationList(locationlist);
            }
            else
            {
                frmlocationyk.GetLocationList(locationlist);
            }
        }