public DataBase(string connectionString) { _connectionString = connectionString; MRCities = new MRCities(connectionString); MRContributions = new MRContributions(connectionString); MRQuotas = new MRQuotas(connectionString); MRUsers = new MRUsers(connectionString); }
public void EditQuota(Quota quota) { MRQuotas.EditQuota(quota); }
public void DeleteQuota(int id) { MRQuotas.DeleteQuota(id); }
public void AddQuota(Quota quota) { MRQuotas.AddQuota(quota); }
public IList <Models.ViewModels.QuotaViewModel> GetAllQuotas(int userId) { return(MRQuotas.GetAllQuotas(userId)); }
public Quota GetQuota(int id) { return(MRQuotas.GetQuota(id)); }