public static VacancyResponse ToResponse( this VacancyModel model, IDatabaseOrganizationService organizationService) => new VacancyResponse { Id = model.Id, Title = model.Title, Salary = model.Salary, Description = model.Description, Organization = ((model.Organization == null) ? organizationService.Get(model.OrganizationId) : model.Organization ).ToResponse(), EmploymentType = model.EmploymentType?.ToList()?.ToStringName(), ContactPerson = model.ContactPerson, ContactPhone = model.ContactPhone, LastUpdated = model.LastUpdated, CreatedAt = model.CreatedAt };