Ejemplo n.º 1
0
        public ActionResult GetAll()
        {
            List <TViewModel> result;

            try
            {
                result = finderViewModelService.GetAll();
            }
            catch (Exception ex)
            {
                return(BadRequest(ex.Message));
            }
            return(Ok(result));
        }