Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cantidad empleos por categoría. #217

Conversation

anyeloamt-zz
Copy link
Collaborator

Con esto quedaría resuelto el issue #213.

capture

{
<span class="search-job-label-item"><a href="@location.Link">@location.Description</a></span>
}
</p>*@
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Como buenos boys and girl scouts vamos a quitar todos los comments que no hacen nada, como este

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@@ -14,5 +20,36 @@ protected EmpleoDotNetController()
_database = new EmpleadoContext();
_uow = new EntityFrameworkUnitOfWork(_database);
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No puedes hacer un query por cada categoría, haz una unica consulta con las categorias que deseas con el count

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bien, lo resolveré.

@luis-ramirez
Copy link
Member

y puedes poner la cantidad entre paréntesis Desarrollo Web (5)

@luis-ramirez
Copy link
Member

Cerrado debido a que ya hay otro PR #244 que resuelve esto

@anyeloamt-zz anyeloamt-zz deleted the feature/cantidad-empleos-por-categoria branch April 6, 2016 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants