public IActionResult Apply(Guid id, ApplicationDTO application) { try { var applicationInDb = _applicationService.Apply(id, application); return(StatusCode(201)); } catch (Exception e) { return(_handler.HandleError(e)); } }