Пример #1
0
 public DataBase(string connectionString)
 {
     _connectionString = connectionString;
     MRCities          = new MRCities(connectionString);
     MRContributions   = new MRContributions(connectionString);
     MRQuotas          = new MRQuotas(connectionString);
     MRUsers           = new MRUsers(connectionString);
 }
Пример #2
0
 public void EditQuota(Quota quota)
 {
     MRQuotas.EditQuota(quota);
 }
Пример #3
0
 public void DeleteQuota(int id)
 {
     MRQuotas.DeleteQuota(id);
 }
Пример #4
0
 public void AddQuota(Quota quota)
 {
     MRQuotas.AddQuota(quota);
 }
Пример #5
0
 public IList <Models.ViewModels.QuotaViewModel> GetAllQuotas(int userId)
 {
     return(MRQuotas.GetAllQuotas(userId));
 }
Пример #6
0
 public Quota GetQuota(int id)
 {
     return(MRQuotas.GetQuota(id));
 }