public void UpdateTeaState(Int16 stateID,string stateName) { using(FlowStatesDataAccess flowStatesDA = new FlowStatesDataAccess()) { flowStatesDA.UpdateTeaState(stateID,stateName); } }
public void ClearFlowState(int type) { using(FlowStatesDataAccess flowStatesDA = new FlowStatesDataAccess()) { flowStatesDA.ClearFlowState(type); } }
public DataSet GetTeaState() { using(FlowStatesDataAccess flowStatesDA = new FlowStatesDataAccess()) { return flowStatesDA.GetTeaState(); } }