public void Update(PersonModel model) { Name = model.Name; Age = model.Age; }
public PersonModel Save(PersonModel p) => _cache[p.Id] = p;