Example #1
0
        public async Task <IActionResult> Create([Bind("ModifiedUserId,ModifiedDateTime,BatchId,MarketId,ScheduleId,BatchStatusId,FileName,FilePath,RangeStartDOS,RangeEndDOS,StartDate,EndDate,StagingStartDate,StagingEndDate,BusinessUpdateStartDate,BusinessUpdateEndDate,ScrubStartDate,ScrubEndDate,StagingClaimCount,ProcessedClaimCount,ScrubClaimCount,SubmittedClaimCount,StagingErrorCount,BusinessUpdateErrorCount,ScrubErrorCount,FileGenerationErrorCount,IsPreAdjudicated,IsScrubEnabled,PurgeDate,BatchMessage,IsFailed,IsExportComplete,StagingPartitionKey,CachePartitionKey,IsParsed,ClmChargeAmt,ClmPatPaidAmt,ScrubbedClmChargeAmt,ScrubbedClmPatPaidAmt,BatchProcessTime")] PharmBatch pharmBatch)
        {
            if (ModelState.IsValid)
            {
                await repository.SaveBatch(pharmBatch);

                return(RedirectToAction(nameof(Index)));
            }
            return(View(pharmBatch));
        }