public Boolean Delete(SqlInt32 StatesID) { StatesDAL dalStates = new StatesDAL(); if (dalStates.Delete(StatesID)) { return(true); } else { Message = dalStates.Message; return(false); } }
public Boolean Update(StatesENT entStates) { StatesDAL dalStates = new StatesDAL(); if (dalStates.Update(entStates)) { return(true); } else { Message = dalStates.Message; return(false); } }
public StatesENT SelectByPK(SqlInt32 StatesID) { StatesDAL dalStates = new StatesDAL(); return(dalStates.SelectByPK(StatesID)); }
public DataTable SelectForDropdownList() { StatesDAL dalStates = new StatesDAL(); return(dalStates.SelectForDropdownList()); }
public DataTable SelectAll() { StatesDAL dalStates = new StatesDAL(); return(dalStates.SelectAll()); }
public Dictionary <int, State> GetAllStates() { return(StatesDAL.GetAllStates(_connection)); }