예제 #1
0
 public void UpdateSummaryNote(string note, string html, Guid userId)
 {
     if (UserId == userId)
     {
         SummaryNote.Update(note, html);
     }
 }
예제 #2
0
 public SummaryNote AddSummaryNote(long itemId, string value, string html, Guid userId)
 {
     if (UserId == userId)
     {
         SummaryNote = new SummaryNote(itemId, value, html, userId);
         return(SummaryNote);
     }
     else
     {
         return(null);
     }
 }