コード例 #1
0
        public ActionResult ObterListaContas(DataSourceLoadOptions options)
        {
            var contas = _contaService.ObterListaConta();

            return(Content(JsonConvert.SerializeObject(contas.ToList()), "application/json"));
        }