public ActionResult <IEnumerable <ActionView> > GetActions() { var actions = _actionsService.GetAll(); return(Ok(actions)); }
// GET api/<controller> public async Task <IHttpActionResult> Get() { return(Ok(await _actionsService.GetAll())); }