Exemplo n.º 1
0
        public JsonResult deletarCorreia(FormCollection form)
        {
            var id = form["idDeletar"];

            Helper.JsonRetorno jsonRetorno = new Helper.JsonRetorno();
            Thiado.DataDll.Services.CorreiaService   correiaService = new Thiado.DataDll.Services.CorreiaService();
            Thiado.DataDll.Entidades.CorreiaEntidade correia        = new Thiado.DataDll.Entidades.CorreiaEntidade();
            correiaService.Deletar(Convert.ToInt32(id));
            return(Json(jsonRetorno));
        }