Example #1
0
        public async Task <IStatusCodeActionResult> Put(string name, Catalogo.Model model)
        {
            await Service.UpdateAsync(name, model);

            return(Ok());
        }
Example #2
0
        public async Task <IStatusCodeActionResult> Post([FromBody] Catalogo.Model model)
        {
            await Service.CreateAsync(model);

            return(Ok());
        }