public static Role GetRole(int id) { if (id>0) { IRole roleProvider = new RoleDal(EFContext.Instance); return roleProvider.Get(id); } return null; }