Files
Yi.Framework/Yi.Furion.Rbac/Yi.Framework.Infrastructure/Ddd/Services/Abstract/IUpdateAppService.cs
2023-04-13 21:12:06 +08:00

22 lines
509 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.Infrastructure.Ddd.Services.Abstract
{
public interface IUpdateAppService<TEntityDto, in TKey>
: IUpdateAppService<TEntityDto, TKey, TEntityDto>
{
}
public interface IUpdateAppService<TGetOutputDto, in TKey, in TUpdateInput>
: IApplicationService
{
Task<TGetOutputDto> UpdateAsync(TKey id, TUpdateInput input);
}
}