Exemplo n.º 1
0
 //public static int ModifyContent(string recontentery, DateTime createdon, int topicid, int userid, int replyid)
 //{
 //    LBBS.Model.ContentReply contentreply = ReSevice.GetContentReplyByID(replyid);
 //    contentreply.User = UserManager.GetUserById1(userid);
 //    contentreply.Content = ContentService.GetContentById(topicid);
 //    contentreply.Createon = createdon;
 //    contentreply.Recontentery = recontentery;
 //    return ReSevice.ModifyContentReply(contentreply);
 //}
 public static int ModifyContentReply(ContentReply contentreply)
 {
     return(ReSevice.ModifyContentReply(contentreply));
 }
Exemplo n.º 2
0
 public static int DeleteContentReply(ContentReply contentreply)
 {
     return(ReSevice.DeleteContentReply(contentreply));
 }
Exemplo n.º 3
0
 public static IList <ContentReply> GetAllReply1()
 {
     return(ReSevice.GetAllReply1());
 }
Exemplo n.º 4
0
 public static IList <ContentReply> GetReplyByID(int id)/// 此方法是按照编号返回一条回贴的信息
 {
     return(ReSevice.GetReplyByID(id));
 }
Exemplo n.º 5
0
 public static IList <ContentReply> GetContentReplyByTID(int topicid)/// 此方法是按照发贴的编号返回所有的回贴
 {
     return(ReSevice.GetContentReplyByTID(topicid));
 }
Exemplo n.º 6
0
 public static int addReply(ContentReply contentreply)
 {
     return(ReSevice.addReply(contentreply));
 }