Beispiel #1
0
        public List <CachetManageModel> GetCachetManageListOne(int Code)
        {
            List <CachetManageModel> list = new List <CachetManageModel>();

            using (SqlConnection connection = new SqlConnection(FunctionRule.GetConnectionString()))
            {
                try
                {
                    CachetManageBLL ebll = new CachetManageBLL();
                    list.Add(ebll.GetModel(Code, connection));
                    connection.Close();
                }
                catch (SqlException exception)
                {
                    throw exception;
                }
            }
            return(list);
        }