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";
            }
        }
Ejemplo n.º 2
0
 public IList <CustomerDueDomain> GetSubscriptionsByName(string name)
 {
     return(_chitDueService.FindByCustomerName(name));
 }