public async Task <object> ConfiguracionLectora(string panelID, string readerID) { try { return(await _reader_REP_LOCAL.ConfiguracionLectora(panelID, readerID)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }
public async Task <object> ConfiguracionLectora(string panelID, string readerID) { try { return(await _reader_REP_LOCAL.ConfiguracionLectora(panelID, readerID)); } catch (Exception ex) { object result = new { sucess = false, status = 400, data = ex.Message }; return(BadRequest(result)); } }