public async Task <ActionResult <IEnumerable <TriggerDto> > > GetAsync() { Request.HttpContext.Response.Headers.Add("Access-Control-Allow-Origin", "*"); var triggers = await _service.GetAllTriggersAsync(); return(Ok(triggers)); }
public async Task <ActionResult <IEnumerable <TriggerDto> > > GetAsync() { Request.HttpContext.Response.Headers.Add("Access-Control-Allow-Origin", "*"); var triggers = await _service.GetAllTriggersAsync(); return(Ok(triggers)); }