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

            if (template == null)
            {
                return(NotFound("Not found"));
            }
            var templateViewModel = mapper.Map <TemplateViewModel>(template);

            return(Ok(templateViewModel));
        }