示例#1
0
 public void Add(string courseId, Remark remark)
 {
     if (!Course2Remarks.ContainsKey(courseId))
      {
     Course2Remarks[courseId] = new List<Remark>();
      }
      Course2Remarks[courseId].Add(remark);
 }
示例#2
0
 public void AddRemark(string courseId,string userId, Remark remark)
 {
     _remarkRepository.AddRemark(courseId, userId, remark);
 }