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

            bc.Edit(tipoServicioComponent);
        }
Beispiel #3
0
        public bool Edit(TipoServicio TipoServicio)
        {
            TipoServicioComponent TipoServicioComponent = new TipoServicioComponent();

            return(TipoServicioComponent.Edit(TipoServicio));
        }