public void InitialData()
        {
            DataSet dsUserDuty = UserDutyManagerClient.Current.GetUserDutyByID(UserID);

            AllocateDutyList   = new ObservableCollection <DutyModel>(DataSetToModel.UserDutyToModel(dsUserDuty, 0));
            UnAllocateDutyList = new ObservableCollection <DutyModel>(DataSetToModel.UserDutyToModel3(dsUserDuty, 1));
        }
        private List <FundsRegulatoryClient.UserManageSrv.UserInfo> GetData()
        {
            DataSet dsAllUser = UserManageClient.Current.GetAllUser();

            return(DataSetToModel.UserInfoToModel(dsAllUser, 0));
        }
        public void LoadOwnDutyList()
        {
            DataSet ds = UserDutyManagerClient.Current.GetUserDutyByID(SelectUser.UserId);

            OwnDutyList = new ObservableCollection <DutyModel>(DataSetToModel.UserDutyToModel(ds, 0));
        }
Example #4
0
        private List <DutyModel> GetData()
        {
            DataSet dsAllDuty = DutyManageClient.Current.GetAllDuty();

            return(DataSetToModel.DutyToModel(dsAllDuty, 0));
        }