Esempio n. 1
0
        public void Delete(Client client)
        {
            BillingSystemContext context = new BillingSystemContext();

            context.Clients.Remove(client);
            context.SaveChanges();
        }
Esempio n. 2
0
        public void Insert(Client client)
        {
            BillingSystemContext context = new BillingSystemContext();

            context.Clients.Add(client);
            context.SaveChanges();
        }
Esempio n. 3
0
        public void Update(Client client)
        {
            BillingSystemContext context = new BillingSystemContext();

            context.Clients.Update(client);
            context.SaveChanges();
        }
Esempio n. 4
0
        public void Update(Profile profile)
        {
            BillingSystemContext context = new BillingSystemContext();

            context.Profiles.Update(profile);
            context.SaveChanges();
        }
Esempio n. 5
0
        public void Delete(Profile profile)
        {
            BillingSystemContext context = new BillingSystemContext();

            context.Profiles.Remove(profile);
            context.SaveChanges();
        }
Esempio n. 6
0
        public void Delete(Tariff tariff)
        {
            BillingSystemContext context = new BillingSystemContext();

            context.Tariffs.Remove(tariff);
            context.SaveChanges();
        }
Esempio n. 7
0
        public void Insert(Profile profile)
        {
            BillingSystemContext context = new BillingSystemContext();

            context.Profiles.Add(profile);
            context.SaveChanges();
        }
Esempio n. 8
0
        public void Update(Tariff tariff)
        {
            BillingSystemContext context = new BillingSystemContext();

            context.Tariffs.Update(tariff);
            context.SaveChanges();
        }
Esempio n. 9
0
        public void Insert(Tariff tariff)
        {
            BillingSystemContext context = new BillingSystemContext();

            context.Tariffs.Add(tariff);
            context.SaveChanges();
        }
Esempio n. 10
0
        public void Delete(Zone zone)
        {
            BillingSystemContext context = new BillingSystemContext();

            context.Zones.Remove(zone);
            context.SaveChanges();
        }
Esempio n. 11
0
        public void Update(Zone zone)
        {
            BillingSystemContext context = new BillingSystemContext();

            context.Zones.Update(zone);
            context.SaveChanges();
        }
Esempio n. 12
0
        public void Insert(Zone zone)
        {
            BillingSystemContext context = new BillingSystemContext();

            context.Zones.Add(zone);
            context.SaveChanges();
        }