Files
Yi.Framework/Yi.Framework.Net6/Yi.Framework.Interface/Base/Crud/IUpdateAppService.cs
2023-01-01 23:06:11 +08:00

19 lines
504 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.Interface.Base.Crud
{
public interface IUpdateAppService<TEntityDto, in TKey>
: IUpdateAppService<TEntityDto, TKey, TEntityDto>
{
}
public interface IUpdateAppService<TUpdateResultOutputDto, in TKey, in TUpdateInputDto> : IApplicationService
{
Task<TUpdateResultOutputDto> UpdateAsync(TKey id, TUpdateInputDto dto);
}
}