public async Task <IEnumerable <string> > SearchStates(string value)
        {
            var cancellationToken = new CancellationTokenSource().Token;

            StatesDTO = await coWINMetadataService.GetStates(cancellationToken);

            States = StatesDTO.Select(x => x.StateName).ToList();

            if (string.IsNullOrEmpty(value))
            {
                return(States);
            }
            return(States.Where(x => x.Contains(value, StringComparison.InvariantCultureIgnoreCase)));
        }
        public async Task <IEnumerable <string> > SearchDistricts(string value)
        {
            var cancellationToken = new CancellationTokenSource().Token;

            DistrictsDTO = await coWINMetadataService.
                           GetDistricts(StatesDTO.Where(x => x.StateName == State).FirstOrDefault().StateId.ToString(), cancellationToken);

            Districts = DistrictsDTO.Select(x => x.DistrictName).ToList();

            if (string.IsNullOrEmpty(value))
            {
                return(Districts);
            }
            return(Districts.Where(x => x.Contains(value, StringComparison.InvariantCultureIgnoreCase)));
        }