using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.Http; using Thermo.Active.NC; namespace Thermo.Active.Controllers.WebApi { public class aBaseApiController : ApiController { /// /// Oggetto adapter condiviso da WebAPI /// protected static NcAdapter ncAdapter = new NcAdapter(); #if false protected override void Dispose(bool disposing) { if (disposing) { if (ncAdapter != null) { ncAdapter.Dispose(); } } base.Dispose(disposing); } #endif } }