Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Html.DropDownListFor(a => a.BrcId, new SelectList(Model.Branches, "BrcId", "BranchName"), "Select Branch")
- [Authorize]
- public ActionResult Register()
- {
- var model = new RegisterModel
- {
- Branches = _db.Branch.ToList()
- };
- _db.Dispose();
- return View(model);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement