예제 #1
0
        public async Task <IActionResult> GetStatesList()
        {
            var states = await _manager.GetStates();

            return(Ok(states.Select(s => new DropDownRow {
                Value = s.Abbreviation, Text = s.Name
            })));
        }