コード例 #1
0
        private void FindSubscriptions()
        {
            if (!string.IsNullOrEmpty(MobileSearchText))
            {
                ChitDueList = chitDueService.FindByMobile(MobileSearchText);
            }
            else if (!string.IsNullOrEmpty(NameSearchText))
            {
                ChitDueList = chitDueService.FindByCustomerName(NameSearchText);
            }
            else
            {
                Message = "Enter mobile Number or messsage";
            }

            if (ChitDueList.Count == 0)
            {
                Message = "Cannot find given text";
            }
        }
コード例 #2
0
 public IList <CustomerDueDomain> GetSubscriptions(string number)
 {
     return(_chitDueService.FindByMobile(number));
 }