public async Task <ActionResult <ObjectModel <AppointmentModel> > > PostAppointment([FromBody] AppointmentModel appointmentModel) { ObjectModel <AppointmentModel> result = new ObjectModel <AppointmentModel>(); result.Data = await _jobsService.AddAppointmentAsync(appointmentModel); return(Ok(result)); }