public JsonResult DeleteTag(DeleteProductTagCommand command) { if (ModelState.IsValid) { return(Json(ModelState.Values)); } var result = _commandBus.Send(command); return(Json(result, JsonRequestBehavior.AllowGet)); }
public JsonResult DeleteTag(DeleteProductTagCommand command) { if (ModelState.IsValid) { return(Json(ModelState.Values)); } var result = _commandBus.Send(command); return(JsonMessage(result)); }