12 lines
287 B
C#
12 lines
287 B
C#
using JoshHeaps.Net.Models;
|
|
|
|
namespace JoshHeaps.Net.Services.Interfaces;
|
|
|
|
public interface IBlogService
|
|
{
|
|
Task<List<BlogPost>> GetAllPostsAsync();
|
|
Task<BlogPost?> GetPostBySlugAsync(string slug);
|
|
Task<List<BlogPost>> GetPostsByTagAsync(string tag);
|
|
void ClearCache();
|
|
}
|