public List <Image_Object> GetByPostId(Guid?postId)
        {
            using (var db = new CarOnlineEntities())
            {
                var data = db.WEB_CARONLINE_SP_Image_GetByPostId(postId);
                var list = new List <Image_Object>();
                list.AddRange(data.Select(x => new Image_Object
                {
                    PostId      = x.PostID,
                    ImageAlt    = x.ImageAlt,
                    ImageName   = x.ImageName,
                    PostImageId = x.PostImageID,
                    Rank        = x.Rank
                }));

                return(list);
            }
        }