public bool?AddImage(string text, HttpPostedFileBase[] uploadImage, int?album_id) { var album = this.GetAlbums(album_id).FirstOrDefault(); if (album == null) { return(null); } var list_img_byte = Get_photo_post(uploadImage); var record = Record.AddRecordImage(album, this, null, list_img_byte, text); if (record == null) { return(null); } this.AddRecordWall(record); return(true); }