示例#1
0
 public async Task <IActionResult> GetPlatformType(Guid id) =>
 (await _platformTypeRepository.GetByIdAsync(id)).NoneIfNull()
 .Map <IActionResult>(Ok).Reduce(NotFound);