James Tombleson
dcb81315bf
All checks were successful
continuous-integration/drone/pr Build is passing
11 lines
317 B
C#
11 lines
317 B
C#
using Newsbot.Collector.Domain.Entities;
|
|
|
|
namespace Newsbot.Collector.Domain.Interfaces;
|
|
|
|
public interface IAuthorTable
|
|
{
|
|
AuthorEntity New(AuthorEntity entity);
|
|
List<AuthorEntity> ListBySourceId(Guid sourceId);
|
|
int TotalPosts(Guid id);
|
|
AuthorEntity? GetBySourceIdAndName(Guid sourceId, string name);
|
|
} |