public IEnumerable <Rubro> GetRubros() { var rubros = rubroRepository.GetAll() .OrderBy(x => x.Codigo); return(rubros); }