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