コード例 #1
0
        public async Task <IActionResult> Get([FromQuery] long id, [FromQuery] long systemid)
        {
            ResourceShowViewModel domain = await _resourceService.GetResourceAsync(id, systemid);

            return(Ok(domain));
        }
コード例 #2
0
 public async Task <ResourceShowViewModel> GetResourceAsync(long id, long systemid)
 {
     return(await _resourceService.GetResourceAsync(id, systemid));
 }