/// <summary>
 /// 获取对象
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public SysRole Get(string id)
 {
     return(Ser_SysRole.Where(p => p.Id == id).First());
 }
 /// <summary>
 /// 获取所有列表
 /// </summary>
 /// <returns></returns>
 public List <SysRole> GetList()
 {
     return(Ser_SysRole.Where(p => p.State == 0).ToList());
 }