よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
よく使われるメソッド
public ActionResult AddGalleryDetail(GalleryDetail galleryDetail, HttpPostedFileBase file) { if (file != null) { socialService.InsertGalleryDetail(galleryDetail, file); socialService.Save(); } return(RedirectToAction("GalleryDetails", new { id = galleryDetail.GalleryID })); }