Advertisement
Guest User

Untitled

a guest
Jul 24th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. @Html.DropDownListFor(a => a.BrcId, new SelectList(Model.Branches, "BrcId", "BranchName"), "Select Branch")
  2.  
  3. [Authorize]
  4. public ActionResult Register()
  5. {
  6. var model = new RegisterModel
  7. {
  8. Branches = _db.Branch.ToList()
  9. };
  10. _db.Dispose();
  11. return View(model);
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement