Esempio n. 1
0
        public async Task <JsonResult> Active()
        {
            var result = await _marcaService.Ativas();

            if (result.Count() != 0)
            {
                return(Json(result.ToList()));
            }
            else
            {
                return(Json(null));
            }
        }