Example #1
0
        public async Task <ActionResult <Tache> > PostTache(Tache tache)
        {
            await tacheService.add(tache);

            return(CreatedAtAction(nameof(GetTasks), new { id = tache.id }, tache));
        }