feat(api): JobAutoControlController - для get ответ с NotFound изменен на NoContent
This commit is contained in:
@@ -55,7 +55,8 @@ namespace PARR.API.Controllers.V1
|
||||
.FirstOrDefaultAsync(t => t.ApplicationInWorkId == applicationInWorkId);
|
||||
|
||||
if (obj == null)
|
||||
return NotFound();
|
||||
//return NotFound();
|
||||
return NoContent();
|
||||
|
||||
var response = mapper.Map<JobAutoControlResponse>(obj);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user