Exemple #1
0
        public override HireTypeVM DeepClone()
        {
            var dto = HireTypeConvertUtil.ToDto(this);

            var vm = HireTypeConvertUtil.FromDto(dto);

            base.CopyStateValues(vm);
            return(vm);
        }
Exemple #2
0
        private async void RefreshItemsAsync()
        {
            this.ItemList.Clear();
            IsBusy = true;
            ICollection <hireType> hireTypes = await AppCxt.Current.DataPortal.GetAllHireTypesAsync();

            IsBusy = false;
            foreach (var item in hireTypes)
            {
                HireTypeVM vm = HireTypeConvertUtil.FromDto(item);
                this.ItemList.Add(vm);
            }
        }