// GET: RepositoryTypes public ActionResult Index() { var list = _repositoryTypeService.GetAll(); return(View(list)); }
// GET: api/RepositoryTypes public IEnumerable <RepositoryType> GetRepositoryTypes() { return(_repositoryTypeService.GetAll()); //return db.RepositoryTypes; }