//for getting the data from the table public object GetStates() { StateDB = new StateDB(); return(StateDB.GetState()); }
public State GetState(int stateId) { return(StateDB.GetState(stateId)); }