Exemplo n.º 1
0
 public Comment(SerComment comment)
 {
     Id     = comment.Id;
     UserId = comment.UserId;
     Text   = comment.Text;
     Data   = comment.Data;
     CardId = comment.CardId;
 }
Exemplo n.º 2
0
 public void ChangeComment(int id, SerComment comment)
 {
     _repository.ChangeComment(id, new Comment(comment));
 }
Exemplo n.º 3
0
 public int AddComment(SerComment comment)
 {
     return(_repository.AddComment(new Comment(comment)));
 }