Exemplo n.º 1
0
 public DataBase(string connectionString)
 {
     _connectionString = connectionString;
     MRCities          = new MRCities(connectionString);
     MRContributions   = new MRContributions(connectionString);
     MRQuotas          = new MRQuotas(connectionString);
     MRUsers           = new MRUsers(connectionString);
 }
Exemplo n.º 2
0
 public IList <City> GetAllCities()
 {
     return(MRCities.GetAllCities());
 }
Exemplo n.º 3
0
 public City GetCity(int id)
 {
     return(MRCities.GetCity(id));
 }