public async Task <ActionResult> ApproveUserImage(int id)
        {
            await _imageService.ApproveUserImage(id);

            return(NoContent());
        }
 public RedirectToRouteResult ApproveUserImage(int id)
 {
     _imageService.ApproveUserImage(id);
     return(RedirectToAction("UserImageApprove"));
 }
示例#3
0
 public ActionResult ApproveUserImage(int id)
 {
     _imageService.ApproveUserImage(id);
     return(NoContent());
 }