public async Task <IActionResult> Get([FromQuery] long id, [FromQuery] long systemid) { ResourceShowViewModel domain = await _resourceService.GetResourceAsync(id, systemid); return(Ok(domain)); }
public async Task <ResourceShowViewModel> GetResourceAsync(long id, long systemid) { return(await _resourceService.GetResourceAsync(id, systemid)); }