示例#1
0
        public Models.Image.ImageUpload Update(Models.Image.ImageUpload entity)
        {
            var imageUpload = entity.ToImageUpload();

            _connection.Update(imageUpload);
            return(entity);
        }
示例#2
0
        public Models.Image.ImageUpload Save(Models.Image.ImageUpload entity)
        {
            var imageUpload = entity.ToImageUpload();

            _connection.Insert(imageUpload);
            return(entity);
        }