/// <summary>
 /// 删除一个系统
 /// </summary>
 /// <param name="flowApiSystem">系统实体</param>
 /// <returns></returns>
 public int Delete(Model.FlowApiSystem flowApiSystem)
 {
     ClearCache();
     using (var db = new DataContext())
     {
         db.Remove(flowApiSystem);
         return(db.SaveChanges());
     }
 }
 /// <summary>
 /// 更新系统
 /// </summary>
 /// <param name="appLibrary"></param>
 /// <returns></returns>
 public int Update(Model.FlowApiSystem appLibrary)
 {
     return(flowApiSystemData.Update(appLibrary));
 }
 /// <summary>
 /// 添加系统
 /// </summary>
 /// <param name="appLibrary"></param>
 /// <returns></returns>
 public int Add(Model.FlowApiSystem appLibrary)
 {
     return(flowApiSystemData.Add(appLibrary));
 }