Пример #1
0
        public async Task DiscardDraftFileAsync(ReturnViewModel returnViewModel, bool reportSubmitted)
        {
            var submittedReturn = this.GetReturnFromDatabase(returnViewModel.OrganisationId, returnViewModel.AccountingDate.Year);

            _draftFileBusinessLogic.DiscardDraft(returnViewModel.ReportInfo.Draft, submittedReturn, reportSubmitted);
        }
 public async Task DiscardDraftFileAsync(ReturnViewModel returnViewModel)
 {
     _draftFileBusinessLogic.DiscardDraft(returnViewModel.ReportInfo.Draft);
 }