public void StoreData(DataTable table)
 {
     using (mgrDBEntities entity = new mgrDBEntities())
     {
         entity.DataTable.Add(table);
         entity.SaveChanges();
     }
 }
 public void StoreData(IEnumerable <DataTable> table)
 {
     using (mgrDBEntities entity = new mgrDBEntities())
     {
         entity.DataTable.AddRange(table);
         entity.SaveChanges();
     }
 }