Example #1
0
        public void RemoveServiceCallFromContainer <T>(T theContainer, ServiceCall WorkingServiceCall)
        {
            MethodInfo reflectionResult = theContainer.GetType().GetMethod("Remove");

            object [] reflectionParams = new object [] { WorkingServiceCall, null };

            if (reflectionResult != null)
            {
                reflectionResult.Invoke(theContainer, reflectionParams);
            }
        }
Example #2
0
 public void SaveServiceCall(ServiceCall WorkingServiceCall)
 {
     SaveItem <ServiceCall>(WorkingServiceCall, _db.ServiceCalls);
 }
Example #3
0
 public void RemoveServiceCall(ServiceCall WorkingServiceCall)
 {
     _db.ServiceCalls.Remove(WorkingServiceCall);
 }