починил странную ошибку
This commit is contained in:
parent
33d22bbb24
commit
30a3f088f7
@ -102,14 +102,14 @@ namespace CaseAccountingCustomerView.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public int[]? HearingLawyerList([FromBody] LawyerHearingListBindingModel listModel)
|
public int[]? SpecializationCaselist([FromBody] LawyerHearingListBindingModel listModel)
|
||||||
{
|
{
|
||||||
if (APIUser.User == null)
|
if (APIUser.User == null)
|
||||||
{
|
{
|
||||||
return Array.Empty<int>();
|
return Array.Empty<int>();
|
||||||
}
|
}
|
||||||
byte[]? file = APIUser.PostRequestWithResult<LawyerHearingListBindingModel, byte[]>
|
byte[]? file = APIUser.PostRequestWithResult<LawyerHearingListBindingModel, byte[]>
|
||||||
("api/reportcustomer/lawyerhearinglist", listModel);
|
("api/reportprovider/specializationcaselist", listModel);
|
||||||
return file!.Select(b => (int)b).ToArray();
|
return file!.Select(b => (int)b).ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,8 +18,8 @@ namespace CaseAccountingDataBaseImplement
|
|||||||
Host=localhost;
|
Host=localhost;
|
||||||
Port=5432;
|
Port=5432;
|
||||||
Database=CaseAccountingDatabase;
|
Database=CaseAccountingDatabase;
|
||||||
Username=courseuser;
|
Username=postgres;
|
||||||
Password=courseuser");
|
Password=postgres");
|
||||||
}
|
}
|
||||||
base.OnConfiguring(optionsBuilder);
|
base.OnConfiguring(optionsBuilder);
|
||||||
}
|
}
|
||||||
|
@ -53,7 +53,7 @@ namespace CaseAccountingProviderView.Controllers
|
|||||||
return Array.Empty<int>();
|
return Array.Empty<int>();
|
||||||
}
|
}
|
||||||
byte[]? file = APIUser.PostRequestWithResult<CaseSpecializationListBindingModel, byte[]>
|
byte[]? file = APIUser.PostRequestWithResult<CaseSpecializationListBindingModel, byte[]>
|
||||||
("api/reportprovider/specializationcaselist", listModel);
|
("api/reportcustomer/lawyerhearinglist", listModel);
|
||||||
return file!.Select(b => (int)b).ToArray();
|
return file!.Select(b => (int)b).ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,10 +16,10 @@ namespace CaseAccountingRestApi.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public byte[] LawyerHearingList(LawyerHearingListBindingModel listModel)
|
public byte[] LawyerHearinglist(LawyerHearingListBindingModel listModel)
|
||||||
{
|
{
|
||||||
byte[] file = _reportCustomerLogic.SaveListFile(listModel);
|
byte[] file = _reportCustomerLogic.SaveListFile(listModel);
|
||||||
return file;
|
return file;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user