public ActionResult Create()
 {
     var m = new Promotion();
     DbUtil.Db.Promotions.InsertOnSubmit(m);
     DbUtil.Db.SubmitChanges();
     return Redirect("/PromotionSetup/");
 }
Exemple #2
0
 private void detach_ToPromotions(Promotion entity)
 {
     this.SendPropertyChanging();
     entity.ToDivision = null;
 }
Exemple #3
0
 private void attach_FromPromotions(Promotion entity)
 {
     this.SendPropertyChanging();
     entity.FromDivision = this;
 }
Exemple #4
0
 private void attach_FromPromotions(Promotion entity)
 {
     this.SendPropertyChanging();
     entity.FromDivision = this;
 }
Exemple #5
0
 private void detach_ToPromotions(Promotion entity)
 {
     this.SendPropertyChanging();
     entity.ToDivision = null;
 }