Example #1
0
        public ActionResult Create(Video video)
        {
            var result = VideoDao.Create(video);

            if (result == 1)
            {
                return(Ok());
            }
            return(BadRequest());
        }