InternshipRegistration - EndPoint implementation #34

Manually merged
Zonar merged 5 commits from InternshipRegistration into master 2020-09-04 20:44:29 +02:00
Showing only changes of commit b11211a756 - Show all commits

View File

@ -92,7 +92,7 @@ namespace InternshipSystem.Api.Controllers
if (registrationQuery.Type.HasValue && edition.IsInternshipTypeAllowed(registrationQuery.Type.Value)) if (registrationQuery.Type.HasValue && edition.IsInternshipTypeAllowed(registrationQuery.Type.Value))
{ {
return BadRequest("Edycja nie posiada takiego rodzaju zatrudnienia w dostępnych zatrudnieniach"); return BadRequest("Edition doesn't have this type of employment in available employments type");
} }
internshipRegistration.Type = registrationQuery.Type ?? internshipRegistration.Type; internshipRegistration.Type = registrationQuery.Type ?? internshipRegistration.Type;