public void Delete(MailAndMessage MailAndMessage) { this._dBContext.Attach(MailAndMessage); this._dBContext.Entry(MailAndMessage).State = EntityState.Modified; }
public void Add(MailAndMessage MailAndMessage) { this._dBContext.Add(MailAndMessage); }