コード例 #1
0
 public ActionResult AddConcepto(TrvRepConceptos concepto)
 {
     concepto.Creadopor         = int.Parse(Session["IdUser"].ToString());
     concepto.FAlta             = DateTime.Now;
     concepto.Activo            = true;
     concepto.IdTrvRepConceptos = 0;
     travelHelper.InsertConcepto(concepto);
     return(Redirect(Url.Action("TravelDetail", "Travel", new { reqID = concepto.IdTrvReq })));
 }