@ -106,6 +106,7 @@ namespace Volo.Abp.Application.Services
//TODO: Check if input has id different than given id and normalize if it's default value, throw ex otherwise
MapToEntity(input, entity);
await Repository.UpdateAsync(entity);
await CurrentUnitOfWork.SaveChangesAsync();
return MapToEntityDto(entity);
@ -100,6 +100,7 @@ namespace Volo.Abp.Application.Services
var entity = GetEntityById(id);
Repository.Update(entity);
CurrentUnitOfWork.SaveChanges();