public bool deleteInsurance(int Id) { _insuranceRepository.DeleteWhere(x => x.Id == Id); _unitOfWork.Save(); return(true); }