public void DeleteMessage(Message t) { using (var ctx = DataContext.Instance()) { var rep = ctx.GetRepository<Message>(); rep.Delete(t); } }
public void DeleteMessage(Message t) { //not currently being used, but still available using (var ctx = DataContext.Instance()) { var rep = ctx.GetRepository<Message>(); rep.Delete(t); } }