Beispiel #1
0
        public ActionResult <Enterprise> Create(Enterprise ent)
        {
            _enterpriseService.Create(ent);

            return(CreatedAtRoute("GetEnterprise", new { id = ent.id.ToString() }, ent));
        }