public List <Funcao> GetAllActive() { try { return(dbFuncao.GetAllAtivos().ToList()); } catch (Exception ex) { throw new Exception($"Erro ao pesquisar Funcaoes: {ex.Message}."); } }
public List <Funcao> GetAllActive() { try { return(dbFuncao.GetAllAtivos().ToList()); } catch (Exception ex) { throw new Exception($"Erro ao pesquisar Funcaoes: {ex.Message}."); } }