public Result <IList <LicPremiumReminder> > GetLicPremiumDueDate(DateTime fromDate, DateTime toDate) { var result = new Result <IList <LicPremiumReminder> >(); LifeInsuranceService lifeInsuranceService = new LifeInsuranceService(); result.Value = lifeInsuranceService.GetByPremiumdate(fromDate, toDate); result.IsSuccess = true; return(result); }