public async Task <IActionResult> PostZetronMstIncidents([FromBody] ZetronMstIncidents zetronMstIncidents) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } _context.ZetronMstIncidents.Add(zetronMstIncidents); await _context.SaveChangesAsync(); _mediaContext.StartAzureProcess(zetronMstIncidents); return(CreatedAtAction("GetZetronMstIncidents", new { id = zetronMstIncidents.IncidentId }, zetronMstIncidents)); }