常用方法
常用方法
常用方法
常用方法
public async Task <ActionResult> RejectService(string id) { Service ThisService = await siteService.ServiceGetByID(id); if (ThisService == null) { return(HttpNotFound()); } await siteService.DeleteService(ThisService); return(RedirectToAction("/PendingServices")); }