public void CaseTake(Case c) { if (c == null) { throw new ArgumentNullException("case"); } if (c.Id < 1) { throw new ArgumentException("Case is not constructed correctly"); } client.CaseTake(c.Id, SupporterController.LoggedInSupporter.Id); }
public void CaseTake(Case c) { if (c == null) { throw new ArgumentNullException("case"); } if (c.Id < 1) { throw new ArgumentException("Case is not constructed correctly"); } client.CaseTake(c.Id, SupporterController.LoggedInSupporter.Id); }