public IActionResult DeleteWork() { _PictureInfoService.Delete(thisWorkInfo.work_id, thisWorkInfo.user_id, User.IsInRole("Admin"), User.FindFirstValue(ClaimTypes.NameIdentifier)); return(RedirectToAction("Index", "Home")); }
public IActionResult DeleteWork() { _PictureInfoService.Delete(thisWorkInfo.work_id, thisWorkInfo.user_id, User.IsInRole("Admin"), User.FindFirstValue(ClaimTypes.NameIdentifier)); return(RedirectToAction("Index", "Home")); }