Ellenőrzések szétválasztása + sorrend
This commit is contained in:
@@ -63,14 +63,14 @@ namespace WorkFlowCheck.API.Controllers
|
||||
|
||||
return retVal;
|
||||
}
|
||||
[HttpGet("GetAllCheckListHeaders")]
|
||||
public async Task<ApiResponseDTO<List<CheckListHeaderDTO>>> GetAllCheckListHeadersAsync()
|
||||
[HttpGet("GetAllCheckListHeaders/{mode}")]
|
||||
public async Task<ApiResponseDTO<List<CheckListHeaderDTO>>> GetAllCheckListHeadersAsync(int mode = 0)
|
||||
{
|
||||
var retVal = new ApiResponseDTO<List<CheckListHeaderDTO>>()
|
||||
{
|
||||
IsSuccess = true,
|
||||
};
|
||||
var checkPointListDTO = await _checkListService.GetAllCheckListHeaderAsync();
|
||||
var checkPointListDTO = await _checkListService.GetAllCheckListHeaderAsync(mode);
|
||||
|
||||
if (checkPointListDTO != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user