protected override void DisposeCore()
 {
     if (dbContext != null)
     {
         dbContext = null;
     }
     //base.DisposeCore();
 }
 protected override void DisposeCore()
 {
     if (dbContext != null)
     {
         dbContext = null;
     }
     //base.DisposeCore();
 }
 public ContactDbContext Get()
  {
      return dbContext ?? (dbContext = new ContactDbContext());
  }
 public ContactDbContext Get()
 {
     return(dbContext ?? (dbContext = new ContactDbContext()));
 }