Example #1
0
        public async Task <IActionResult> Save([FromRoute] string page, LabelTile tile)
        {
            if (ModelState.IsValid)
            {
                return(await SaveBaseTile(page, ConfigStore, tile));
            }

            return(View("Add", tile));
        }
Example #2
0
        public async Task <IActionResult> Save(LabelTile tile)
        {
            if (ModelState.IsValid)
            {
                return(await SaveBaseTile(ConfigStore, tile));
            }

            return(View("Add", tile));
        }