Esempio n. 1
0
 public IEnumerable <Project> Get()
 {
     return(projectRepo.GetAll());
 }
Esempio n. 2
0
 public IEnumerable <Project> GetAll()
 {
     return(_repository.GetAll());
 }
 public IEnumerable <Project> GetAllProjects()
 {
     return(_projectRepo.GetAll().AsViewModel());
 }
Esempio n. 4
0
        public ActionResult Index()
        {
            var projects = projectRepo.GetAll();

            return(View(projects));
        }
Esempio n. 5
0
 public IEnumerable <Project> GetAllProjects()
 {
     return(_projectRepo.GetAll().AsViewModel());
     //.Select(item => item.AsViewModel());
 }