Beispiel #1
0
        public async Task <IActionResult> AddToBookmarks([FromBody] Test test)
        {
            var service = new PostService();
            var result  = await service.AddPostToBookMarksAsync(test.PostId, UserId);

            return(FromResult(result));
        }