public void ImageGroom() { var file = Request.Files["Image"]; GroomModel gb = GroomModel.Instance; string path = Server.MapPath("~\\images\\"); file.SaveAs(path + gb.groom.Picture); }
public PartialViewResult CoupleHome() { BrideModel bride = BrideModel.Instance; GroomModel groom = GroomModel.Instance; var couple = service.GetNew(); couple.Groom = groom.groom; couple.Bride = bride.bride; return(PartialView("_Couple", couple)); }