diff --git a/CompanyManagment.App.Contracts/FinancialStatment/IFinancialStatmentApplication.cs b/CompanyManagment.App.Contracts/FinancialStatment/IFinancialStatmentApplication.cs index 224e0ed4..8ff28a5c 100644 --- a/CompanyManagment.App.Contracts/FinancialStatment/IFinancialStatmentApplication.cs +++ b/CompanyManagment.App.Contracts/FinancialStatment/IFinancialStatmentApplication.cs @@ -29,7 +29,7 @@ public interface IFinancialStatmentApplication /// /// /// - Task> GetDetailsByHashCode(string publicId); + Task> GetDetailsByPublicId(string publicId); Task GetBalanceAmount(long id); } diff --git a/CompanyManagment.Application/FinancialStatmentApplication.cs b/CompanyManagment.Application/FinancialStatmentApplication.cs index 66a32638..bd247e33 100644 --- a/CompanyManagment.Application/FinancialStatmentApplication.cs +++ b/CompanyManagment.Application/FinancialStatmentApplication.cs @@ -119,7 +119,7 @@ public class FinancialStatmentApplication : IFinancialStatmentApplication return await _financialStatmentRepository.GetClientFinancialStatement(accountId, searchModel); } - public async Task> GetDetailsByHashCode( + public async Task> GetDetailsByPublicId( string publicId) { return await _financialStatmentRepository.GetDetailsByPublicId(publicId); diff --git a/ServiceHost/Areas/Client/Controllers/FinancialController.cs b/ServiceHost/Areas/Client/Controllers/FinancialController.cs index 05db0e68..bf1be58f 100644 --- a/ServiceHost/Areas/Client/Controllers/FinancialController.cs +++ b/ServiceHost/Areas/Client/Controllers/FinancialController.cs @@ -40,7 +40,7 @@ public class FinancialController : ClientBaseController if(!Guid.TryParseExact(id,"N",out _)) return new OperationResult().Failed("شناسه ارسال شده نامعتبر است"); - var result = await _financialStatementApplication.GetDetailsByHashCode(id); + var result = await _financialStatementApplication.GetDetailsByPublicId(id); return result; } ///