public async Task <IActionResult> DeleteTemplate([FromRoute] string id)
        {
            var template = await inventoryProvider.GetTemplate(id);

            if (template == null)
            {
                return(NotFound("Not found"));
            }
            await inventoryProvider.DeleteTemplate(template);

            return(Ok(id));
        }