public ObjectResult Insert(ClPrestamos client) { try { var prestamo = generic.Insertar(client); return(Ok(prestamo)); } catch (Exception e) { throw e; } }
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; } }
public ObjectResult Insert(ClClientes client) { try { var clients = generic.Insertar(client); return(Ok(clients)); } catch (Exception e) { throw e; } }
public ObjectResult Insert(ClRoles Rol) { try { var roles = generic.Insertar(Rol); return(Ok(roles)); } catch (Exception e) { throw e; } }
public ObjectResult Insert(ClAmortizaciones pago) { try { var pagos = generic.Insertar(pago); return(Ok(pagos)); } catch (Exception e) { throw e; } }
public ObjectResult Insert(ClTitulosAcademicos tituloAcademico) { try { var result = generic.Insertar(tituloAcademico); return(Ok(result)); } catch (Exception e) { throw e; } }
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; } }