43 lines
1.3 KiB
C#
43 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Yi.Framework.Infrastructure.Ddd.Dtos;
|
|
|
|
namespace Yi.Framework.Infrastructure.Ddd.Services.Abstract
|
|
{
|
|
|
|
public interface ICrudAppService<TEntityDto, in TKey>
|
|
: ICrudAppService<TEntityDto, TKey, PagedAndSortedResultRequestDto>
|
|
{
|
|
|
|
}
|
|
|
|
public interface ICrudAppService<TEntityDto, in TKey, in TGetListInput>
|
|
: ICrudAppService<TEntityDto, TKey, TGetListInput, TEntityDto>
|
|
{
|
|
|
|
}
|
|
|
|
public interface ICrudAppService<TEntityDto, in TKey, in TGetListInput, in TCreateInput>
|
|
: ICrudAppService<TEntityDto, TKey, TGetListInput, TCreateInput, TCreateInput>
|
|
{
|
|
|
|
}
|
|
|
|
public interface ICrudAppService<TEntityDto, in TKey, in TGetListInput, in TCreateInput, in TUpdateInput>
|
|
: ICrudAppService<TEntityDto, TEntityDto, TKey, TGetListInput, TCreateInput, TUpdateInput>
|
|
{
|
|
|
|
}
|
|
|
|
public interface ICrudAppService<TGetOutputDto, TGetListOutputDto, in TKey, in TGetListInput, in TCreateInput, in TUpdateInput>
|
|
: IReadOnlyAppService<TGetOutputDto, TGetListOutputDto, TKey, TGetListInput>,
|
|
ICreateUpdateAppService<TGetOutputDto, TKey, TCreateInput, TUpdateInput>,
|
|
IDeleteAppService<TKey>
|
|
{
|
|
|
|
}
|
|
}
|