Example #1
0
        public Boolean Delete(SqlInt32 StatesID)
        {
            StatesDAL dalStates = new StatesDAL();

            if (dalStates.Delete(StatesID))
            {
                return(true);
            }
            else
            {
                Message = dalStates.Message;
                return(false);
            }
        }
Example #2
0
        public Boolean Update(StatesENT entStates)
        {
            StatesDAL dalStates = new StatesDAL();

            if (dalStates.Update(entStates))
            {
                return(true);
            }
            else
            {
                Message = dalStates.Message;
                return(false);
            }
        }
Example #3
0
        public StatesENT SelectByPK(SqlInt32 StatesID)
        {
            StatesDAL dalStates = new StatesDAL();

            return(dalStates.SelectByPK(StatesID));
        }
Example #4
0
        public DataTable SelectForDropdownList()
        {
            StatesDAL dalStates = new StatesDAL();

            return(dalStates.SelectForDropdownList());
        }
Example #5
0
        public DataTable SelectAll()
        {
            StatesDAL dalStates = new StatesDAL();

            return(dalStates.SelectAll());
        }
Example #6
0
 public Dictionary <int, State> GetAllStates()
 {
     return(StatesDAL.GetAllStates(_connection));
 }