Example #1
0
        public IActionResult Index()
        {
            var data = new List <string>
            {
                "Welcome to PikaCore REST API.",
                "https://music.youtube.com/watch?v=AckG0JVrYDA"
            };
            var apiMessage = new ApiMessage <IList <string> >()
            {
                Data = data
            };

            apiMessage.AddMessage("Everythin is fine.");
            return(Ok(apiMessage));
        }