public List <HIVTestResultModel> GetAllTest()
 {
     using (var testRepo = new HIVTestResultRepository())
     {
         return(testRepo.GetAllTest().Select(x => new HIVTestResultModel()
         {
             TestId = x.TestId,
             PatientName = x.PatientName,
             Date = x.Date,
             DOB = x.DOB,
             Gender = x.Gender,
             TestigLocation = x.TestigLocation,
             NextAppointment = x.NextAppointment,
             HIVtestType = x.HIVtestType,
             Status = x.Status,
             PatientId = x.PatientId
         }).ToList());
     }
 }