예제 #1
0
        public IActionResult Details(Guid?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var expedidorViewModel = _expedidorAppService.GetById(id.Value);

            if (expedidorViewModel == null)
            {
                return(NotFound());
            }

            return(View(expedidorViewModel));
        }
예제 #2
0
        public IActionResult Get(Guid id)
        {
            var fornecedorViewModel = _expedidorAppService.GetById(id);

            return(Response(fornecedorViewModel));
        }