Beispiel #1
0
        public async Task <ActionResult> GetById(Guid id)
        {
            var state = await _applicationServiceState.GetByIdAsync(id);

            return(OkResult(state));
        }
Beispiel #2
0
        public async Task <ActionResult <StateViewModel> > GetByIdAsync(Guid id)
        {
            var state = await _applicationServiceState.GetByIdAsync(id);

            return(Ok(state));
        }