public async Task <DtoTblHospital> SelectHospitalByName(string name)
        {
            HttpResponseMessage httpResponseMessage = await _httpClient.PostAsJsonAsync($"api/HospitalCore/SelectHospitalByName?name={name}", name);

            DtoTblHospital ans = await httpResponseMessage.Content.ReadAsAsync <DtoTblHospital>();

            return(ans);
        }
        public async Task <DtoTblHospital> SelectHospitalById(int id)
        {
            HttpResponseMessage httpResponseMessage = await _httpClient.PostAsJsonAsync($"api/HospitalCore/SelectHospitalById?id={id}", id);

            DtoTblHospital ans = await httpResponseMessage.Content.ReadAsAsync <DtoTblHospital>();

            return(ans);
        }