2023-01-01 23:06:11 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.Interface.Base.Crud
|
|
|
|
|
|
{
|
2023-01-05 19:21:48 +08:00
|
|
|
|
public interface ICreateAppService<TEntityDto>: ICreateAppService<TEntityDto, TEntityDto>
|
2023-01-01 23:06:11 +08:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-01-05 19:21:48 +08:00
|
|
|
|
public interface ICreateAppService<TCreateResultOutputDto , in TCreateInputDto> : IApplicationService
|
2023-01-01 23:06:11 +08:00
|
|
|
|
{
|
|
|
|
|
|
Task<TCreateResultOutputDto> CreateAsync(TCreateInputDto dto);
|
2023-01-04 20:50:10 +08:00
|
|
|
|
|
|
|
|
|
|
Task CreateAsync(IEnumerable<TCreateInputDto> dtos);
|
2023-01-01 23:06:11 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|