public void Actualizar(PrecioRequest request)
 {
     try
     {
         var bc = new PrecioComponent();
         bc.Edit(request.Precio);
     }
     catch (Exception ex)
     {
         var httpError = new HttpResponseMessage()
         {
             StatusCode   = (HttpStatusCode)422,
             ReasonPhrase = ex.Message
         };
         throw new HttpResponseException(httpError);
     }
 }
Beispiel #2
0
        public void Edit(Precio precio)
        {
            var bc = new PrecioComponent();

            bc.Edit(precio);
        }
Beispiel #3
0
        public bool Edit(Precio Precio)
        {
            PrecioComponent PrecioComponent = new PrecioComponent();

            return(PrecioComponent.Edit(Precio));
        }