private async Task <FundraisingDetail> GetDetails()
        {
            var response = await Api.GetFundraisingDetail(_campaignID);

            if (!string.IsNullOrEmpty(response.Error))
            {
                await AlertProvider.ErrorAlert(this, response.Error);

                return(new FundraisingDetail());
            }

            return(response);
        }
        private async Task <List <FundraisingModel> > GetListing(string search = "")
        {
            var response = await Api.GetFundraisingList(new Api.GetFundraisingListRequest {
                SearchName = search
            });

            if (!string.IsNullOrEmpty(response.Error))
            {
                await AlertProvider.ErrorAlert(this, response.Error);

                return(new List <FundraisingModel>());
            }

            return(response.Items.Select(a =>
                                         new FundraisingModel
            {
                ID = a.ID,
                Image = a.Image,
                Description = a.Description,
                Name = a.Name,
                ValidTill = $"Valid Until {a.ValidTill}",
                Url = a.Url
            }).ToList());
        }