The signature of Find
method is TEntity Find(params Object[] keyValues)
and you can enlist the keys of composite primary key in proper order.
ViewBag.UserSkills.Find(WebSecurity.CurrentUserId, item.SkillId )
The signature of Find
method is TEntity Find(params Object[] keyValues)
and you can enlist the keys of composite primary key in proper order.
ViewBag.UserSkills.Find(WebSecurity.CurrentUserId, item.SkillId )