public async Task <ActionResult <RSV_Global <List <Employee> > > > Autocomplete(Employee employee) { RSV_Global <List <Employee> > infoResult = new RSV_Global <List <Employee> >(); try { infoResult = await _employeeBL.Autocomplete(employee); if (infoResult == null) { return(BadRequest(new { message = "error" })); } return(Ok(infoResult)); } catch (Exception ex) { infoResult.Error = new Error(ex, $"Se presento un error en el metodo {((MethodInfo)MethodBase.GetCurrentMethod()).Name.ToString()}. {ex.Message}"); infoResult.Success = false; } return(infoResult); }