Connection to database working through Service1.svc.cs but not through IService.cs