public bool MoveRecord() { try { List <string> _name = GetTableNames().Where(p => p.StartsWith("LogisticService")).ToList(); foreach (string name in _name) { dbcontext.MoveLiveDBTableIntoTestDBTable(name); } return(true); } catch (Exception ex) { return(false); } }