Ejemplo n.º 1
0
        //
        // GET: /Company/

        public ActionResult Index()
        {
            return(View(CompanyRepository.CreateInMemoryModel()));
        }
Ejemplo n.º 2
0
        //
        // GET: /Department/

        public ActionResult Index(Guid id)
        {
            var dept = CompanyRepository.CreateInMemoryModel().AllDepartments.Where(d => d.Id == id).Single();

            return(View(dept));
        }