/// <summary>
 /// Adds a new person on the database.
 /// </summary>
 /// <param name="person">The new person.</param>
 public void Create(Person person)
 {
     _context.People.Add(person);
     _context.SaveChanges();
 }
 /// <summary>
 /// Deletes an exisitng person on the database.
 /// </summary>
 /// <param name="person">The person to be deleted.</param>
 public void Delete(Person person)
 {
     _context.People.Remove(person);
     _context.SaveChanges();
 }
 /// <summary>
 /// Updates an exisitng person on the database.
 /// </summary>
 /// <param name="person">The person to be updated.</param>
 public void Update(Person person)
 {
     _context.Entry<Person>(person).State = EntityState.Modified;
     _context.SaveChanges();
 }