// PUT: api/StatusReason/5 public void Put(int id, StatusReason statusReason) { statusReasonRepository.Update(statusReason); }
// POST: api/StatusReason public void Post(StatusReason statusReason) { statusReasonRepository.Add(statusReason); }