Exemple #1
0
        public int AddShare(Jw_share js, List <Jw_share_file> list)
        {
            try
            {
                ins.AddShare(js);
                foreach (var item in list)
                {
                    ins.AddShareFile(item);
                }
                return(1);
            }
            catch (Exception)
            {
                return(-1);

                throw;
            }
        }