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); } }
public void SaveServiceCall(ServiceCall WorkingServiceCall) { SaveItem <ServiceCall>(WorkingServiceCall, _db.ServiceCalls); }
public void RemoveServiceCall(ServiceCall WorkingServiceCall) { _db.ServiceCalls.Remove(WorkingServiceCall); }