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

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

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