Esempio n. 1
0
 public ActionResult PrecioTela(int IdCotizacion, int IdTela, Boolean MantenerPrecio, double PrecioNuevo)
 {
     try
     {
         using (var dbContext = new ConfortexEntities())
         {
             dbContext.sp_AsociarPreciosTela(IdCotizacion, IdTela, MantenerPrecio, PrecioNuevo);
         }
         return(Json(new { Message = clsReferencias.Exito }));
     }
     catch (Exception ex)
     {
         return(Json(new { Message = new clsException(ex).Message() }));
     }
 }