Exemplo n.º 1
0
        public ActionResult GetGastos()
        {
            try
            {
                var gastos = service.GetAllGastos();

                return(Ok(gastos));
            }
            catch (Exception ex)
            {
                AltivaLog.Log.Insertar(ex.ToString(), "Error");
                throw;
            }
        }