public void UpdatePromo(PromoModel model)
        {
            try
            {
                Promo table = new Promo();
                using (VenturadaDataContext vdc = new VenturadaDataContext())
                {
                    table = vdc.Promos.Single(a => a.PromoId == model.PromoId);
                    table.PromoId = model.PromoId;
                    table.PromoTitle = model.PromoTitle;
                    table.PromoDescription = model.PromoDescription;
                    table.ImageString = model.ImageString;
                    vdc.SubmitChanges();
                }
            }
            catch (Exception ex)
            {

                throw ex;
            }
        }
 partial void DeletePromo(Promo instance);
 partial void UpdatePromo(Promo instance);
 partial void InsertPromo(Promo instance);