public List <Post> GetPostByUser(int userID, int accountID)
        {
            List <Post> posts = new List <Post>();

            if (blockMockRepository.CheckDidIBlockUser(accountID, userID))
            {
                return(null);
            }
            else
            {
                posts = context.Posts.Where(e => (e.UserId == userID)).ToList();
            }

            return(posts);
        }
 public bool CheckDidIBlockUser(int userID, int blockedID)
 {
     return(blockingMockRepository.CheckDidIBlockUser(userID, blockedID));
 }