aboutsummaryrefslogtreecommitdiff
path: root/Backend/Api/Api/Interfaces/IPostService.cs
blob: 31e80cdfcc3ad4f6a181f186d80e9bcd69c880ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
using Api.Models;

namespace Api.Interfaces
{
    public interface IPostService
    {
        Task<PostSend> addPost(PostReceive post);
        Task<List<PostSend>> getAllPosts();
        Task<PostSend> getPostById(string id);
        PostSend postToPostSend(Post post);
    }
}