常用方法
常用方法
常用方法
常用方法
public ActionResult Disable(int bidedItemId, string returnUrl) { if (!_orchardServices.Authorizer.Authorize(Permissions.ManageBids, T("Couldn't disable Bids"))) { return(new HttpUnauthorizedResult()); } _bidService.DisableBidsForBidedContent(bidedItemId); return(this.RedirectLocal(returnUrl, () => RedirectToAction("Index"))); }