/// <summary> /// 删除值 /// </summary> /// <param name="obj"></param> private async void Delete(DynamicEntityPropertyDto obj) { if (await dialog.Question(Local.Localize("DeleteDynamicPropertyMessage"), AppCommonConsts.DialogIdentifier)) { await SetBusyAsync(async() => { await WebRequest.Execute(() => appService.Delete(obj.Id), GetAllPropertiesOfAnEntity); }); } }
public async Task Update(DynamicEntityPropertyDto dto) { await _dynamicEntityPropertyManager.UpdateAsync(ObjectMapper.Map <DynamicEntityProperty>(dto)); }
public async Task Add(DynamicEntityPropertyDto dto) { dto.TenantId = AbpSession.TenantId; await _dynamicEntityPropertyManager.AddAsync(ObjectMapper.Map <DynamicEntityProperty>(dto)); }