public void Dispose()
 {
     if (db != null)
     {
         db.Dispose();
         db = null;
     }
 }
 public MasterDbService()
 {
     db = new frsEntities();
 }