aboutsummaryrefslogtreecommitdiff
path: root/Backend/Api/Api/Interfaces/IPostService.cs
blob: 29a824a6d10630560054972009ea84740475e495 (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);
        Task<PostSend> postToPostSend(Post post);
    }
}