public async Task <ActionResult <ObjectModel <JobsModel> > > Post([FromBody] JobsBase jobsBase) { ObjectModel <JobsModel> result = new ObjectModel <JobsModel>(); result.Data = await _jobsService.AddJobsAsync(jobsBase); return(Ok(result)); }
public async Task <ActionResult <ObjectModel <JobsModel> > > Post([FromBody] JobsBase jobsBase) { ObjectModel <JobsModel> result = new ObjectModel <JobsModel>(); result.Data = await _jobsService.AddJobsAsync(jobsBase); return(Ok(result)); }