Ejemplo n.º 1
0
        public WSR_Result GetTopicsByUser(string iduser)
        {
            object     data   = null;
            WSR_Result result = null;

            if (result == null)
            {
                TopicDb db = new TopicDb();
                data = db.GetTopicByUser(Convert.ToInt32(iduser));
                return(new WSR_Result(data, true));
            }
            else
            {
                return(result);
            }
        }