22 lines
509 B
C#
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);
|
|
}
|
|
|
|
}
|