public void Dispose()
 {
     if (_teamContext != null)
     {
         _teamContext.Dispose();
     }
 }
Example #2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }
        public void Dispose()
        {
            if (_orgRepoContext != null)
            {
                _orgRepoContext.Dispose();
            }

            if (_contextOrgTeam2 != null)
            {
                _contextOrgTeam2.Dispose();
            }
        }
 public void Dispose()
 {
     _context.Dispose();
 }