public List <MakeListItem> GetMakeList()
        {
            List <MakeListItem> makes = new List <MakeListItem>();

            using (var cn = new SqlConnection(Settings.GetConnectionString()))
            {
                SqlCommand cmd = new SqlCommand("MakeListSelectAll", cn);
                cmd.CommandType = CommandType.StoredProcedure;

                cn.Open();

                using (SqlDataReader dr = cmd.ExecuteReader())
                {
                    while (dr.Read())
                    {
                        MakeListItem currentRow = new MakeListItem();
                        currentRow.MakeID    = (int)dr["MakeID"];
                        currentRow.MakeName  = dr["MakeName"].ToString();
                        currentRow.DateAdded = (DateTime)dr["DateAdded"];
                        currentRow.Email     = dr["Email"].ToString();
                        currentRow.UserID    = dr["UserID"].ToString();

                        makes.Add(currentRow);
                    }
                }
            }
            return(makes);
        }
    public void StartList(MakeListItem makeItem, int totalCount)
    {
        this.makeItem   = makeItem;
        this.totalCount = totalCount;
        hasButton       = false;

        EnableList();
    }
    public void StartList(MakeListItem makeItem, int totalCount, Dictionary <string, string> buttonNameWithMethod)
    {
        this.makeItem             = makeItem;
        this.totalCount           = totalCount;
        this.buttonNameWithMethod = buttonNameWithMethod;
        hasButton = true;

        EnableList();
    }