示例#1
0
        /// <summary>
        /// 移除
        /// </summary>
        /// <param name="id"></param>
        public void RemoveAt(Guid id)
        {
            WebAppModel app = apps.FirstOrDefault(m => m.ID == id);

            if (app != null)
            {
                Remove(app);
            }
        }
示例#2
0
 /// <summary>
 /// 移除
 /// </summary>
 /// <param name="app"></param>
 public void Remove(WebAppModel app)
 {
     apps.Remove(app);
 }
示例#3
0
 /// <summary>
 /// 添加
 /// </summary>
 /// <param name="app"></param>
 public void Add(WebAppModel app)
 {
     apps.Add(app);
 }