public RS.ResourceStructureAttribute GetResourceStructureAttributesByName(string name) { return(ResourceStructureAttrRepo.Query(u => u.Name.ToLower() == name.ToLower()).FirstOrDefault()); }
public IQueryable <RS.ResourceStructureAttribute> GetAllResourceStructureAttributes() { return(ResourceStructureAttrRepo.Query()); }
public RS.ResourceStructureAttribute GetResourceStructureAttributesById(long id) { return(ResourceStructureAttrRepo.Query(u => u.Id == id).FirstOrDefault()); }