using System; using System.Collections.Generic; using System.Linq; using System.Text; using ICSSoft.Frame.Data.DAL; using System.Data; using ICSSoft.Frame.Data.Entity; namespace ICSSoft.Frame.Data.BLL { public class ICSStackBLL { public static void AddAndEdit(ICSStack Storage, string Appconstr) { try { ICSStackDAL.AddAndEdit(Storage,Appconstr); } catch (Exception ex) { throw ex; } } public static void AddAndEditList(List StackList, string Appconstr) { try { ICSStackDAL.AddAndEditList(StackList, Appconstr); } catch (Exception ex) { throw ex; } } public static ICSStack select(String guid, String Appconstr) { try { return ICSStackDAL.select(guid, Appconstr); }catch(Exception ex){ throw ex; } } public static ICSStack selectByCode(String stackcode, String Appconstr) { return ICSStackDAL.selectByCode(stackcode, Appconstr); } public static void delete(List guidList) { try { ICSStackDAL.delete(guidList); }catch(Exception ex){ throw ex; } } public static DataTable selectData() { try { return ICSStackDAL.SelectData(); }catch(Exception ex){ throw ex; } } } }