Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public IActionResult UpdateAlertInline(string id, [FromForm] string text) { if (text != null) { var model = _alertService.GetModel(id); model.Text = text; _alertService.UpdateModel(model); return(Ok(model)); } return(BadRequest("Alert text cannot be empty")); }