示例#1
0
        public GraphApiController(DataGraphService service)
        {
            _context = service.Context;

#if DEBUG
            //_context.ConfigureLogging(s => Debug.WriteLine(s));
#endif
        }
 public DataGraphService()
 {
     _context = new DataGraphContext(Startup.DbConnectionString);
 }