예제 #1
0
 public async Task <IActionResult> GetQuadruplexesByPdbId(int pdbId, int quadruplexId)
 {
     if (pdbId == 0 || quadruplexId == 0)
     {
         return(BadRequest());
     }
     return(Ok(await quadruplexService.GetQuadruplexesByPdbId(pdbId, quadruplexId)));
 }
예제 #2
0
 public async Task <IActionResult> GetQuadruplexesByPdbId(string pdbId, int quadruplexId)
 {
     if (string.IsNullOrWhiteSpace(pdbId) || quadruplexId == 0)
     {
         return(BadRequest());
     }
     return(Ok(await quadruplexService.GetQuadruplexesByPdbId(pdbId, quadruplexId)));
 }