Exemplo n.º 1
0
        public void Delete(long id)
        {
            ProfileGroupMapping item = Get(id);

            _accessor.Delete(item);
        }
Exemplo n.º 2
0
 public ProfileGroupMapping Insert(ProfileGroupMapping entity)
 {
     entity = _accessor.Insert(entity);
     return(entity);
 }
Exemplo n.º 3
0
 public ProfileGroupMapping Update(ProfileGroupMapping entity)
 {
     _accessor.Update(entity);
     return(entity);
 }
Exemplo n.º 4
0
        public ProfileGroupMapping Get(long id)
        {
            ProfileGroupMapping item = _accessor.Get <ProfileGroupMapping>(x => x.IsActive && x.Id == id);

            return(item);
        }