public void Delete(Client client) { BillingSystemContext context = new BillingSystemContext(); context.Clients.Remove(client); context.SaveChanges(); }
public void Insert(Client client) { BillingSystemContext context = new BillingSystemContext(); context.Clients.Add(client); context.SaveChanges(); }
public void Update(Client client) { BillingSystemContext context = new BillingSystemContext(); context.Clients.Update(client); context.SaveChanges(); }
public void Update(Profile profile) { BillingSystemContext context = new BillingSystemContext(); context.Profiles.Update(profile); context.SaveChanges(); }
public void Delete(Profile profile) { BillingSystemContext context = new BillingSystemContext(); context.Profiles.Remove(profile); context.SaveChanges(); }
public void Delete(Tariff tariff) { BillingSystemContext context = new BillingSystemContext(); context.Tariffs.Remove(tariff); context.SaveChanges(); }
public void Insert(Profile profile) { BillingSystemContext context = new BillingSystemContext(); context.Profiles.Add(profile); context.SaveChanges(); }
public void Update(Tariff tariff) { BillingSystemContext context = new BillingSystemContext(); context.Tariffs.Update(tariff); context.SaveChanges(); }
public void Insert(Tariff tariff) { BillingSystemContext context = new BillingSystemContext(); context.Tariffs.Add(tariff); context.SaveChanges(); }
public void Delete(Zone zone) { BillingSystemContext context = new BillingSystemContext(); context.Zones.Remove(zone); context.SaveChanges(); }
public void Update(Zone zone) { BillingSystemContext context = new BillingSystemContext(); context.Zones.Update(zone); context.SaveChanges(); }
public void Insert(Zone zone) { BillingSystemContext context = new BillingSystemContext(); context.Zones.Add(zone); context.SaveChanges(); }