示例#1
0
        public ActionResult Index()
        {
            var service = new RepService();
            var model   = service.GetReps();

            return(View(model));
        }
示例#2
0
        RepService repService = new RepService();//NoteService(userId);

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

            return(Ok(reps));
        }