remove operation result

This commit is contained in:
MahanCh
2025-04-15 15:06:17 +03:30
parent f5195ecaa2
commit 00a85e54ee
35 changed files with 109 additions and 98 deletions

View File

@@ -1,4 +1,4 @@
using _0_Framework_b.Application;
using _0_Framework.Application;
using CompanyManagment.App.Contracts.File1;
using CompanyManagment.App.Contracts.FileAlert;
using CompanyManagment.App.Contracts.FileState;

View File

@@ -1,4 +1,4 @@
using _0_Framework_b.Application;
using _0_Framework.Application;
using CompanyManagement.Infrastructure.Excel.CaseManagement;
using CompanyManagment.App.Contracts.Board;
using CompanyManagment.App.Contracts.Contact2;
@@ -268,7 +268,7 @@ public class IndexModel : PageModel
if (command.createDiagnosisPS != null)
result = _proceedingSessionApplication.CreateProceedingSessions(
command.createDiagnosisPS,
result.EntityId
result.SendId
);
if (!result.IsSuccedded)
@@ -293,7 +293,7 @@ public class IndexModel : PageModel
if (command.createDisputeResolutionPS != null)
result = _proceedingSessionApplication.CreateProceedingSessions(
command.createDisputeResolutionPS,
result.EntityId
result.SendId
);
if (!result.IsSuccedded)
@@ -343,7 +343,7 @@ public class IndexModel : PageModel
var workResult = _workHistoryApplication.CreateWorkHistories(
command.CreateWorkHistory,
petitionResult.EntityId
petitionResult.SendId
);
if (!workResult.IsSuccedded)
@@ -351,7 +351,7 @@ public class IndexModel : PageModel
var penaltyResult = _penaltyTitleApplication.CreatePenaltyTitles(
command.CreatePenaltyTitle,
petitionResult.EntityId
petitionResult.SendId
);
if (!penaltyResult.IsSuccedded)
@@ -410,7 +410,7 @@ public class IndexModel : PageModel
var workResult = _masterWorkHistoryApplication.CreateMasterWorkHistories(
command.CreateMasterWorkHistory,
masterPetitionResult.EntityId
masterPetitionResult.SendId
);
if (!workResult.IsSuccedded)
@@ -418,7 +418,7 @@ public class IndexModel : PageModel
var penaltyResult = _masterPenaltyTitleApplication.CreateMasterPenaltyTitles(
command.CreateMasterPenaltyTitle,
masterPetitionResult.EntityId
masterPetitionResult.SendId
);
if (!penaltyResult.IsSuccedded)
@@ -471,7 +471,7 @@ public class IndexModel : PageModel
var evidenceDetail = _evidenceDetailApplication.CreateEvidenceDetail(
command.CreateEvidenceDetail,
evidenceResult.EntityId
evidenceResult.SendId
);
if (!evidenceDetail.IsSuccedded)