This code wraps the wcf call and takes care of closing and aborting the wcf client and channel factory. It also finds the configuration element automatically by the full name of the wcf interface or the ServiceContractAttribute

Wraps calls to EF Context in a using statement for easier disposing. This code can also help to isolate the use of Entity Framework in unit tests because it gives one more level of interface mocking before having to directly deal with EF in unit tests.