Example #1
0
        public Tag AddOne(EditTagModel model)
        {
            var tag = _providerTag.AddOne(_converter.ConvertTo(model));

            _providerTag.Commit();
            return(tag);
        }
Example #2
0
        public TextAttributes AddOne(TextAttributeModel model)
        {
            var attr = _providerAttr.AddOne(_converter.ConvertTo(model));

            _providerAttr.Commit();
            return(attr);
        }
Example #3
0
        public Watermark AddOne(ImageAttrModel model)
        {
            var watermark = _providerWatermark.AddOne(_converter.ConvertTo(model));

            _providerWatermark.Commit();
            return(watermark);
        }
Example #4
0
        public Album AddOne(EditAlbumModel model)
        {
            var album = _providerAlbum.AddOne(_converter.ConvertTo(model));

            _providerAlbum.Commit();
            return(album);
        }