Beispiel #1
0
 public UiTag GetTagByName(Tag tag)
 {
     return
         (new UiTag
     {
         name = _tagDal.Get(t => t.id == tag.id).name
     });
 }
Beispiel #2
0
        public IDataResult <Tag> GetTagById(int tagId)
        {
            var model = _tagDal.Get(i => i.Id == tagId);

            return(new SuccessDataResult <Tag>(model, Messages.Success));
        }
 public Tag GetTagById(int id)
 {
     return(_tagDal.Get(c => c.TagId == id));
 }
Beispiel #4
0
 public Tag GetByItem(object item)
 {
     return(_tagDal.Get(c => c.TagId == (int)item));
 }
Beispiel #5
0
 public Tag GetById(int id)
 {
     return(_tagDal.Get(x => x.TagId == id));
 }
Beispiel #6
0
 public Tag GetById(int id)
 {
     return(tagDal.Get(c => c.Id == id));
 }