Example #1
0
 /// <summary>
 /// A patient can update its data
 /// </summary>
 public bool Update(Patient patient)
 {
     if (patient == null)
     {
         throw new NullReferenceException("De patiƫnt is leeg.");
     }
     return(context.Update(patient));
 }
Example #2
0
 public bool Update(Patient obj)
 {
     return(_context.Update(obj));
 }