Exemplo n.º 1
0
        public Post ActiveDeactive(PostActiveDeactiveModel model)
        {
            Post post = PostManager.ActiveDeactive(model.PostId.Value, model.Active.Value);

            return(post);
        }