public HttpResponseMessage Get(int PageSize = 5, int PageIndex = 1) { return(Request.CreateResponse(HttpStatusCode.OK, new { data = _process.Get(PageSize, PageIndex) })); }
// GET: ProfileController public ActionResult Index() { return(View(profileRepo.Get())); }