Esempio n. 1
0
        public async Task <IViewComponentResult> InvokeAsync(int TenderId)
        {
            TenderAttachmentModel tenderModel = await _ApiClient.GetAsync <TenderAttachmentModel>("Tender/GetAttachmentsByTenderId/" + TenderId, null);

            //TempData["isAttachmentsChanged"] = tenderModel.AttachmentsChanges.Any();
            return(View(tenderModel));
        }
        public async Task <IViewComponentResult> InvokeAsync(int TenderId)
        {
            TenderAttachmentModel tenderModel = await _apiClient.GetAsync <TenderAttachmentModel>("Tender/GetAttachmentsByTenderId/" + TenderId, null);

            return(View(tenderModel));
        }