예제 #1
0
 public ObjectResult Insert(ClPrestamos client)
 {
     try
     {
         var prestamo = generic.Insertar(client);
         return(Ok(prestamo));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
예제 #2
0
 public ObjectResult Insert(ClOcupaciones ocupacion)
 {
     try
     {
         var ocupaciones = generic.Insertar(ocupacion);
         return(Ok(ocupaciones));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public ObjectResult Insert(ClModalidadesDePago pago)
 {
     try
     {
         var pagos = generic.Insertar(pago);
         return(Ok(pagos));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
예제 #4
0
 public ObjectResult Insert(ClClientes client)
 {
     try
     {
         var clients = generic.Insertar(client);
         return(Ok(clients));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
예제 #5
0
 public ObjectResult Insert(ClRoles Rol)
 {
     try
     {
         var roles = generic.Insertar(Rol);
         return(Ok(roles));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
예제 #6
0
 public ObjectResult Insert(ClAmortizaciones pago)
 {
     try
     {
         var pagos = generic.Insertar(pago);
         return(Ok(pagos));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
예제 #7
0
 public ObjectResult Insert(ClTitulosAcademicos tituloAcademico)
 {
     try
     {
         var result = generic.Insertar(tituloAcademico);
         return(Ok(result));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
예제 #8
0
 public ObjectResult Insert(ClUsuarios User)
 {
     try
     {
         User.Usu_Clave = Encoding.UTF8.GetBytes(User.Clave);
         var Success = generic.Insertar(User);
         return(Ok(Success));
     }
     catch (Exception e)
     {
         throw e;
     }
 }