public void Delete(long id) { ValveGroupMapping item = Get(id); _accessor.Delete(item); }
public ValveGroupMapping Insert(ValveGroupMapping entity) { entity = _accessor.Insert(entity); return(entity); }
public ValveGroupMapping Update(ValveGroupMapping entity) { _accessor.Update(entity); return(entity); }
public ValveGroupMapping Get(long id) { ValveGroupMapping item = _accessor.Get <ValveGroupMapping>(x => x.IsActive && x.Id == id); return(item); }