public async Task <string> Post() { RESPUESTA_HTTP = await PETICION_HTTP.PostAsync(URL + DIRECTORIO_API, ContenidoHttp(this)); if (RESPUESTA_HTTP.IsSuccessStatusCode) { return(null); } else { return(Interaccion.DevolverNotificacion( new Tuple <bool, string>(false, REQUEST_ISSUES))); } }
public async Task <string> Post() { RESPUESTA_HTTP = await PETICION_HTTP.PostAsync(URL + DIRECTORIO_API, ContenidoHttp(this)); if (RESPUESTA_HTTP.IsSuccessStatusCode) { return(Interaccion.DevolverNotificacion( new Tuple <bool, string>(true, "Categoria de puesto de Trabajo Creada con Exito !"))); } else { return(Interaccion.DevolverNotificacion( new Tuple <bool, string>(false, REQUEST_ISSUES))); } }