public async Task <ActionResult> AddPost(Post post)
        {
            var cookie = Request.Cookies["Login"];

            if (cookie != null && cookie["status"].Contains("admin"))
            {
                post.User = cookie["username"];
                var status = await _blogService.AddPost(postWCFChanger(post));

                if (status.Equals("Error"))
                {
                    return(View("Error"));
                }
                return(View());
            }
            else
            {
                return(View("PermissionError"));
            }
        }