for the treatment of viral diseases and methods, uses, pharmaceutical, and unit capacity It is described herein. Method, use, medicament, and a unit dose of (a) substituted piperidine and piperazine-carboxamide, or a pharmaceutically acceptable salt thereof and (b) one or more pharmaceutically acceptable carriers, excipients or diluents, or a It includes a combination. Viral diseases include hepatitis C virus, HIV, BVDV, and corona virus infection.바이러스성 질환을 치료하기 위한 방법, 용도, 의약, 및 단위 용량이 본원에 기재되어 있다. 방법, 용도, 의약, 및 단위 용량은 (a) 치환된 피페리딘 및 피페라진 카르복스아미드, 또는 그의 제약상 허용되는 염 및 (b) 하나 이상의 제약상 허용되는 담체, 부형제 또는 희석제, 또는 그의 조합을 포함한다. 바이러스성 질환은 C형 간염 바이러스, HIV, BVDV, 및 코로나바이러스 감염을 포함한다.