Last active
September 20, 2015 13:23
-
-
Save hahalin/3fb5abdf9031e81233a8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public ActionResult Contact() | |
| { | |
| ViewBag.Message = "與我們聯絡"; | |
| List<department> departmentlist = new List<department>(); | |
| department depobj = new department(); | |
| depobj.id = "a001"; depobj.departmentName = "業務部"; | |
| departmentlist.Add(depobj); | |
| depobj = new department(); | |
| depobj.id = "a002"; depobj.departmentName = "創意部"; | |
| departmentlist.Add(depobj); | |
| depobj = new department(); | |
| depobj.id = "a003"; depobj.departmentName = "行銷部"; | |
| departmentlist.Add(depobj); | |
| return View(departmentlist); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment