public static IEnumerable <Municipio> ListarTodos() { IMunicipioRepositorio _municipioRepositorio = new MunicipioRepositorio(); try { return(_municipioRepositorio.ListarTodos()); } catch (Exception ex) { throw new Exception(ex.Message); } }
public static IEnumerable <Municipio> ListarTodos() { var municipioRepositorio = new MunicipioRepositorio(); return(municipioRepositorio.ListarTodos()); }