public ActionResult <PageViewModel <EnvironmentViewModel> > GetEnvironments( [FromQuery] PageFilter pageFilter) { var enviromnments = _repo.GetPage(pageFilter); return(Ok(_mapper.Map <PageViewModel <EnvironmentViewModel> >(enviromnments))); }
public ActionResult <PageViewModel <EnvironmentViewModel> > GetEnvironments( [FromQuery] PageFilter pageFilter) { var enviromnments = _repo.GetPage(pageFilter); return(Ok(_mapper.Map <PageViewModel <EnvironmentViewModel> >(enviromnments))); }