public void MarkCaseAsInactive(Case @case) { @case.Status = CaseStatus.Inactive; _session.Update(@case); }
public Case Create(string someExistingNumber) { var @case = new Case {CellPhoneNumber = someExistingNumber, LastActivity = SystemDateTime.Now()}; _session.Save(@case); return @case; }
public void MarkCaseAsEmergency(Case @case) { @case.Status = CaseStatus.Emergency; _session.Update(@case); }