Esempio n. 1
0
        int IEditRegistryItemTask.AcquireItemID(int registryId, Guid userID, string userName, string fullName, bool isRF)
        {
            int[]         ids        = dao.AcquireItemID(registryId, userID, isRF);
            List <string> parameters = new List <string>();

            parameters.Add(ids[0].ToString());
            ActionLogger al = new ActionLogger(new ActionContext(new Guid("5F5E6C05-A007-4121-BD56-56317F154C28"), userID, userName, fullName, parameters));

            al.AppliesToDocuments.Add(ids[1]);
            al.ActionData.Add("numerPozycjiDziennika", ids[0].ToString());
            al.Execute();
            return(ids[0]);
        }