15 lines
432 B
C#
15 lines
432 B
C#
using Core.Blueprint.Domain.Entities;
|
|
|
|
namespace Core.Blueprint.DAL.Service.Contracts
|
|
{
|
|
public interface ISampleItemService
|
|
{
|
|
ValueTask<SampleItem> CreateAsync(SampleItem entity);
|
|
ValueTask<bool> DeleteAsync(string id);
|
|
ValueTask<IEnumerable<SampleItem>> GetAllAsync();
|
|
ValueTask<SampleItem> GetByIdAsync(string id);
|
|
Task<bool> UpdateAsync(string id, SampleItem entity);
|
|
|
|
}
|
|
}
|