常用方法
常用方法
常用方法
常用方法
public ActionResult AddGalleryDetail(GalleryDetail galleryDetail, HttpPostedFileBase file) { if (file != null) { socialService.InsertGalleryDetail(galleryDetail, file); socialService.Save(); } return(RedirectToAction("GalleryDetails", new { id = galleryDetail.GalleryID })); }