Ejemplo n.º 1
0
        public ResultModel Admin_CommentUpdate(int id, string title, string content)
        {
            if (!string.IsNullOrEmpty(title) && !string.IsNullOrEmpty(content))
            {
                return(commentDal.Admin_CommentUpdate(id, title, content));
            }

            else
            {
                return(new ResultModel()
                {
                    IsSuccess = false,
                    Message = "Do not leave empty places"
                });
            }
        }