سلام دوستان من از Html.ValidationMessageFor در کد استفاده کردم ولی پیغام رو نشون نمیده کار دیگه باید انجام بدم؟
@Html.TextBoxFor(s => s.Password, new { @type = "password", placeholder = "رمز عبور" })
@Html.ValidationMessageFor(model => model.Password, "", new { @class = "text-danger" })