public bool Delete(int hobbyId) { using (var svc = new ServiceProxyHelper<IHobbyService>("HobbyService")) { return svc.Proxy.Delete(hobbyId); } }