示例#1
0
        public async Task <string> Post(Movie mode)
        {
            string s = "fail creating new movie";

            if (dataHandler.AddMovie(mode))
            {
                return(s = "Created new movie");
            }
            return(s);
        }