コード例 #1
0
 public async Task <IActionResult> CheckExist(string name)
 {
     return(Ok(await _standardRepository.IsExistAsync(a => a.Name == name)));
 }
コード例 #2
0
 public async Task <bool> CheckStandardExist(Expression <Func <StandardComponent, bool> > expression)
 {
     return(await _standardRepository.IsExistAsync(expression));
 }