public ActionResult <IEnumerable <ActionView> > GetActions()
        {
            var actions = _actionsService.GetAll();

            return(Ok(actions));
        }
Exemple #2
0
 // GET api/<controller>
 public async Task <IHttpActionResult> Get()
 {
     return(Ok(await _actionsService.GetAll()));
 }