Пример #1
0
        public async Task <IActionResult> Get()
        {
            var model = await provider.Get() ?? new KeyFigure();

            return(this.Ok(model));
        }
Пример #2
0
        public async Task <ActionResult> Get()
        {
            var data = await provider.Get() ?? new KeyFigure();

            return(this.Ok(data));
        }