public override HireTypeVM DeepClone() { var dto = HireTypeConvertUtil.ToDto(this); var vm = HireTypeConvertUtil.FromDto(dto); base.CopyStateValues(vm); return(vm); }
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); } }