Esempio n. 1
0
 // GET: Customer
 public ActionResult Index()
 {
     ViewBag.customers = _customerFactory.GetAllContacts() ?? new List <Contact>();
     return(View());
 }
Esempio n. 2
0
 public ActionResult ProjectEdit()
 {
     ViewBag.customers = _customerFactory.GetAllContacts() ?? new List <Contact>();
     ViewBag.users     = UserFactory.GetAllUsers();
     return(View());
 }
Esempio n. 3
0
 public ActionResult Contact()
 {
     ViewBag.contacts = _contactFactory.GetAllContacts() ?? new List <Contact>();
     return(View());
 }