Ejemplo 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);
 }
Ejemplo n.º 2
0
 public IList <Contribution> GetContributionByCity(int cityId)
 {
     return(MRContributions.GetContributionByCity(cityId));
 }
Ejemplo n.º 3
0
 public Contribution GetContribution(int id)
 {
     return(MRContributions.GetContribution(id));
 }