Ejemplo n.º 1
0
        //
        public void AskForRevision(long idSubmission, string reason, dtoRevisionMessage message, String webSiteurl)
        {
            int idUser = UserContext.CurrentUserID;

            if (!UserContext.isAnonymous)
            {
                Revision rev = ServiceCall.AskForRevision(idSubmission, idUser, reason, webSiteurl, RootObject.ViewSubmission(View.CallType, View.IdCall, View.IdSubmission, false, CallStatusForSubmitters.Submitted, View.PreloadIdOtherCommunity, 0), message);
                if (rev != null)
                {
                    View.IdPendingRevision = rev.Id;
                }
            }
            LoadSubmission(View.IdSubmission, View.IdRevision, idUser);
        }