When i try to debug this code :
 // POST: api/Events
    [HttpPost]
    public async Task<IActionResult> PostEvent([FromBody] object savedEvent)
    {
        Event addedEvent = JsonConvert.DeserializeObject<Event>(savedEvent.ToString());
        if (!ModelState.IsValid)
        {
            return BadRequest(ModelState);
        }
Cant hit this line :
   Event addedEvent = JsonConvert.DeserializeObject<Event>(savedEvent.ToString());
Debuger reacts like i hit continue but code past doesnt execute. Im really confused. Thanks for your help.
 
     
    
 
     
     
     
     
    