GetExpersCompany
GetGroupsCompany
This commit is contained in:
@@ -18,10 +18,10 @@ namespace HushianWebApp.Service
|
||||
var response = await _baseController.Post($"{BaseRoute}AddExper", request);
|
||||
return response.IsSuccessStatusCode;
|
||||
}
|
||||
public async Task<List<Read_ExperDto>?> GetExpersCompany(int CompanyID, int PageIndex = 1, int PageSize = 10)
|
||||
public async Task<List<Read_ExperDto>?> GetExpersCompany()
|
||||
{
|
||||
string route = $"{BaseRoute}GetExpersCompany/{CompanyID}&PageIndex={PageIndex}&PageSize={PageSize}";
|
||||
|
||||
string route = $"{BaseRoute}GetExpersCompany";
|
||||
//&PageIndex={PageIndex}&PageSize={PageSize}
|
||||
var response = await _baseController.Get(route);
|
||||
if (response.IsSuccessStatusCode)
|
||||
{
|
||||
@@ -29,7 +29,17 @@ namespace HushianWebApp.Service
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public async Task<List<Read_ExperDto>?> GetExpersCompany(int CompanyID)
|
||||
{
|
||||
string route = $"{BaseRoute}GetExpersCompany?CompanyID={CompanyID}";
|
||||
var response = await _baseController.Get(route);
|
||||
if (response.IsSuccessStatusCode)
|
||||
{
|
||||
return await response.Content.ReadFromJsonAsync<List<Read_ExperDto>>();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------------------
|
||||
public async Task<bool> EditUserYourself(Update_ExperDto request) //ویرایش کاربران توسط خود
|
||||
{
|
||||
|
Reference in New Issue
Block a user