Exemplo n.º 1
0
        public ActionResult <Dnd.Dal.Entities.CharacterSheet> NewSheet(string username, [FromBody] Dnd.Dal.Dto.CharacterSheet sheet)
        {
            Console.WriteLine("new");
            var result = sheetService.AddCharacterSheet(username, sheet);

            if (result == null)
            {
                return(NotFound());
            }
            return(Ok(sheet));
        }