public IEnumerable <Foo> ListFoos()
 {
     return(FooDb.All());
 }
 public void UpdateFoo(Foo foo)
 {
     FooDb.Update(foo);
 }
 public Foo GetFoo(int id)
 {
     return(FooDb.Get(id));
 }