Example #1
0
 public void RemoveAttachment(SupplierAttachment attachment)
 {
     Attachment.FirstOrDefault(d => d.AttachmentId == attachment.AttachmentId).DeleteAttachment();
     EntityUpdated();
 }
Example #2
0
 public void AddAttachment(SupplierAttachment attachment)
 {
     Attachment.Add(attachment);
     EntityUpdated();
 }