public async Task <ActionResult> ManageServiceableAreaPinCode(ServiceOfferedModel service)
        {
            if (service.ServiceAreaId != null)
            {
                service.EventAction = 'U';
            }
            else
            {
                service.EventAction = 'I';
            }
            service.UserId = CurrentUser.UserId;
            var response = await _services.AddOrEditServiceableAreaPin(service);

            TempData["response"] = response;

            var services = new ManageServiceModel();

            services.Services = await _services.GetServiceAreaPins(new FilterModel { ServiceId = service.ServiceId });

            services.Service = await _services.GetServiceOfferd(new FilterModel { ServiceId = service.ServiceId });

            services.Service.IsActive      = false;
            services.Service.LocationList  = new SelectList(Enumerable.Empty <SelectList>());
            services.Service.ServiceAreaId = null;
            services.Files       = new List <ProviderFileModel>();
            services.ImportModel = new ProviderFileModel();
            return(View(services));
        }
        public async Task <ActionResult> ManageServiceableAreaPinCode(Guid ServiceId)
        {
            var service = new ManageServiceModel();

            service.Services = await _services.GetServiceAreaPins(new FilterModel { ServiceId = ServiceId, FileId = null });

            service.Service = await _services.GetServiceOfferd(new FilterModel { ServiceId = ServiceId });

            service.Service.IsActive     = false;
            service.BaseUrl              = _fpath;
            service.Service.LocationList = new SelectList(Enumerable.Empty <SelectList>());
            service.Files = await _RepoUploadFile.GetFiles(ServiceId);

            service.ImportModel = new ProviderFileModel();
            return(View(service));
        }