public async Task <IActionResult> GetDrugFrequency() { try { var getresult = await _prescriptionRepository.GetDrugFrequency(); return(Ok(getresult)); } catch (Exception ex) { return(BadRequest()); } }