Beispiel #1
0
        public void Create(TagPostMapInfo tagPost)
        {
            var tagPostEntity = AutoMapper.Mapper.Map <TagPostMap>(tagPost);

            repository.Create(tagPostEntity);
        }
Beispiel #2
0
 public TagController()
 {
     tagService     = new TagService();
     tagPostService = new TagPostMapService();
     tagPost        = new TagPostMapInfo();
 }