Action that mounts the Chart:
public ActionResult GraficoPedidos()
{
int [] arrayP = new int[12];
int aux = 0;
for(int i = 1;i <= 12;i++)
{
int numero = Convert.ToInt32(context.Pedidos.Count(p => p.DataPedido....
Good afternoon, I have a registration screen that I am making an ajax call to send the data, however when the user does not fill some field I need to show a field validation error message. In other sign-up screens on my system I used the @Html.V...
I am trying to make a SelectList using ViewBag . But when I run my code it shows where the information I'm trying to access is, for example:
NomeProjeto.Models.NomeModel
I'm using the following code in my Controller :
v...
I ask your help in helping me put the following situation together:
I have a structure in EF database first where I have a type that the user must select and after selecting this type in the dropdownlist it must trigger a corresponding action...
I'm having positioning problems with @RenderBody() , I can not adjust it according to the side menu, I would like a solution, thanks.
<divclass="nav-side-menu">
<div class="brand">Life Players</div>
<i class...
I have a form that validates the fields when trying to send information, but I have a "novapagina" option where I would not like to validate the fields, would that be possible?
In views
<div class="container droppedHover">
<br/&...
public IList<DtoContrato> ConsulteListaPorListaDeIds(List<Guid> listaIds)
{
return Conversor(Persistencia().Where(x => listaIds.Contains(x.Id)));
}
My question is, if the list of ids has 100mil records for example, can nhiber...
I'm implementing a user authentication / registration feature with ASP.NET MVC 4.5, but I can not find a more correct way of working with passwords in the database, I do not want to simply generate an MD5 and write to the database .
Is there...
Hello, I have the following situation, my Edit returns a group of Classes filled for editing. In my View the data is filled correctly, however, when I edit a field and send save in Edit (Post) my Model arrives...