자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public void ProcessRequest(HttpContext context) { int movieID = Convert.ToInt32(context.Request.QueryString["MovieID"]); MovieServices MovieServices = new MovieServices(); byte[] photo = MovieServices.GetPhoto(movieID); if (photo == null) { return; } context.Response.ContentType = "image/jpeg"; context.Response.BinaryWrite(photo); }