コード例 #1
0
        public Response<List<RespGetVideoComments>> GetVideoComments(ReqGetVideoComments objReq)
        {
            var objresponse = new Response<List<RespGetVideoComments>>();
            var objlist = new List<RespGetVideoComments>();
            var objmethod = new UnseenTalentsMethod();

            try
            {
                objlist = objmethod.GetVideoComments(objReq);

                objresponse.Create(true, 0, "Events for admin", objlist);
            }
            catch (Exception ex)
            {
                objresponse.Create(false, -1, "Events for admin", objlist);
            }
            return objresponse;
        }