Esempio n. 1
0
        public ActionResult Index()
        {
            var service = new RepService();
            var model   = service.GetReps();

            return(View(model));
        }
Esempio n. 2
0
        RepService repService = new RepService();//NoteService(userId);

        public IHttpActionResult Get()
        {
            var reps = repService.GetReps();

            return(Ok(reps));
        }