public override RolePermission GetFromCache(Guid id) { var item = base.GetFromCache(id); if (item != null) { return(item); } return(DefaultData.GetDefault(id)); }
public override RolePermission Get(Guid id, bool getColumnDataOnly = false) { var item = base.Get(id, getColumnDataOnly); if (item != null) { return(item); } else { return(DefaultData.GetDefault(id)); } }