Any idea why this code is not working?
I'm handling the error with actionFailure event of the grid:
but it show's me alert message even if the
return StatusCode((int)HttpStatusCode.BadRequest, "Error!"); is not executed.
This is the response.
If I disable everything except
_context.BlagajnaUplIsp.Add(value.Value);
await _context.SaveChangesAsync();
return new JsonResult(value.Value);
then the insert is working.
Any idea?
Thanks!
Bernard.