feat: 去除新增的缓存操作
This commit is contained in:
@@ -106,13 +106,6 @@ namespace Yi.Framework.Ddd.Application
|
||||
return output!;
|
||||
}
|
||||
|
||||
public override async Task<TGetOutputDto> CreateAsync(TCreateInput input)
|
||||
{
|
||||
var output = await base.CreateAsync(input);
|
||||
await Cache.RemoveAsync(GetCacheKey(output.Id));
|
||||
return output;
|
||||
}
|
||||
|
||||
public override async Task DeleteAsync(IEnumerable<TKey> id)
|
||||
{
|
||||
await base.DeleteAsync(id);
|
||||
|
||||
Reference in New Issue
Block a user