Esempio n. 1
0
        private Linq.Consent CreateDefaultConsent(Entities edc, string _nr, List <Customs.Warnning> warnings)
        {
            Linq.Consent _ret = Consent.DefaultConsent(edc, GetCustomsProcess(Process), _nr);
            string       _msg = "Created default consent document with number: {0}. The Consent period is {1} months";

            warnings.Add(new Customs.Warnning(String.Format(_msg, _nr, _ret.ConsentPeriod), false));
            return(_ret);
        }