Esempio n. 1
0
        public virtual async Task UpdateAsync(UpdateMapTenantDto input)
        {
            var mapTenant = await MapTenantRepository.GetAsync(input.Id, true);

            if (mapTenant == null)
            {
                throw new AbpException($"Could not find MapTenant by id :{input.Id}.");
            }

            await CheckMapTenantAsync(input.Code, mapTenant.Id);

            mapTenant.Update(input.Code, input.TenantId, input.MapCode);
        }
Esempio n. 2
0
 public async Task UpdateAsync(Guid id, UpdateMapTenantDto input)
 {
     await _mapTenantAppService.UpdateAsync(id, input);
 }
Esempio n. 3
0
 public virtual async Task UpdateAsync(Guid id, UpdateMapTenantDto input)
 {
     await MapTenantManager.UpdateAsync(id, input.Code, input.TenantId, input.MapCode);
 }
 public async Task UpdateAsync([FromBody] UpdateMapTenantDto input)
 {
     await _mapTenantAppService.UpdateAsync(input);
 }