public IActionResult OnPostEdit(EditSlide command) { var operationResult = new OperationResult(); if (ModelState.IsValid) { operationResult = _slideApplication.Edit(command); } return(new JsonResult(operationResult)); }
public JsonResult OnPostEdit(EditSlide command) { var result = _slideApplication.Edit(command); return(new JsonResult(result)); }
public IActionResult OnPostEdit(SlideEdit edit) { var result = _slideApplication.Edit(edit); return(new JsonResult(result)); }