public void UpdateCase(int cid, double sumToAdd) { double sum = _caseRepository.FindOne(cid).TotalSumDonated + sumToAdd; _caseRepository.Update(cid, sum); }