re-refacto BlogPost serialization
Some checks failed
Dotnet build and test / build (push) Has been cancelled
Dotnet build and test / log-the-inputs (push) Has been cancelled

This commit is contained in:
Paul Schneider 2026-08-05 21:11:22 +01:00
commit cd03b04755
No known key found for this signature in database
GPG key ID: 1E66C65EE2B46F1B
2 changed files with 2 additions and 4 deletions

View file

@ -3,7 +3,5 @@ namespace Yavsc.Interfaces
public interface ITaggable<K> : IIdentified<K> public interface ITaggable<K> : IIdentified<K>
{ {
string [] GetTags(); string [] GetTags();
K Id { get; }
} }
} }

View file

@ -22,9 +22,9 @@ namespace Yavsc.Blogs.Controllers
// GET: api/BlogApi // GET: api/BlogApi
[HttpGet] [HttpGet]
public async Task<IEnumerable<BlogPost>> GetBlogspot(int start = 0, int take = 25) public async Task<IEnumerable<IBlogPost>> GetBlogspot(int start = 0, int take = 25)
{ {
return (await blogSpotService.Index(User, null, start, take)).Cast<BlogPost>(); return await blogSpotService.Index(User, null, start, take);
} }
// GET: api/BlogApi/5 // GET: api/BlogApi/5