Example #1
0
        public async Task <IHttpActionResult> testb()
        {
            // var openId = System.Web.HttpContext.Current.Session["openid"];
            var videos = await _videoServices.GetNoticedElementsAsync();

            return(Ok(videos.Select(d => new
            {
                d.Title, d.StartDate
            }
                                    )));
        }