Ejemplo n.º 1
0
        public async Task <IActionResult> Index(bool configurationUpdated)
        {
            var model = new ConfigurationModel(await _mediator.Send(new GetConfiguration()));

            if (configurationUpdated)
            {
                model.RaiseMessage(Message.MessageLevel.Success, "Configuration updated successfully");
            }

            return(View(model));
        }