feat: add optional legal type parameter to employer selection list retrieval
This commit is contained in:
@@ -48,7 +48,7 @@ public interface IEmployerApplication
|
||||
/// <param name="id"></param>
|
||||
/// <param name="legalType"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<EmployerSelectListViewModel>> GetSelectList(string search, long id, LegalType? legalType);
|
||||
Task<List<EmployerSelectListViewModel>> GetSelectList(string search, long id, LegalType? legalType = null);
|
||||
|
||||
#endregion
|
||||
#region NewByHeydari
|
||||
|
||||
@@ -1284,7 +1284,7 @@ public class EmployerApplication : IEmployerApplication
|
||||
return opration.Succcedded();
|
||||
}
|
||||
|
||||
public async Task<List<EmployerSelectListViewModel>> GetSelectList(string search, long id, LegalType? legalType)
|
||||
public async Task<List<EmployerSelectListViewModel>> GetSelectList(string search, long id, LegalType? legalType = null)
|
||||
{
|
||||
return await _EmployerRepository.GetSelectList(search, id,legalType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user