public Task <ApiHome> GetAllHomeDetailsAsync(HomeDetailDto param)
        {
            var request = new RestRequest("Detail/Home", Method.GET, DataFormat.Json);

            request.AddObject(param);

            return(_http.SendRequestAsync <ApiHome>(request));
        }
        public Task <List <ApiTypeAheadLocation> > GetAllLocationsAsync(LocationDto param)
        {
            var request = new RestRequest("Typeahead/Locations", Method.GET, DataFormat.Json);

            request.AddObject(param);

            return(_http.SendRequestAsync <List <ApiTypeAheadLocation> >(request));
        }
        public Task <ApiResultModel <bool> > CreateOneUserAsync(UserProfileRequiredDto profile)
        {
            var request = new RestRequest("User/Create", Method.POST, DataFormat.Json);

            request.AddJsonBody(profile);

            return(_http.SendRequestAsync <ApiResultModel <bool> >(request));
        }