Exemplo n.º 1
0
        public IActionResult OnGetConfirm(long id)
        {
            var result = _commentApplication.Confirm(id);

            if (result.IsSucceeded)
            {
                return(RedirectToPage("./Index"));
            }
            Message = result.Message;
            return(RedirectToPage("./Index"));
        }
 public RedirectToPageResult OnPostConfirm(long id)
 {
     _commentApplication.Confirm(id);
     return(RedirectToPage("./List"));
 }
Exemplo n.º 3
0
        public IActionResult OnPostConfirm(long id)
        {
            var result = _commentApplication.Confirm(id);

            return(RedirectToPage("./Index"));
        }
Exemplo n.º 4
0
 public IActionResult OnPostConfirm(int id)
 {
     _commentApplication.Confirm(id);
     return(RedirectToPage("Index"));
 }
Exemplo n.º 5
0
        public IActionResult OnGetConfirm(long id)
        {
            var operationResult = _commentApplication.Confirm(id);

            return(RedirectToPage("Index"));
        }