public ActionResult <Consult> CreateConsult(Consult consult) { _networkservice.CreateConsult(consult); return(CreatedAtRoute("consults", new { id = consult.Id.ToString() }, consult)); }