public CircularPage() { InitializeComponent(); BindingContext = _viewModel = new CircularViewModel(this.Navigation); //listView.ItemsSource = Enumerable.Range(0, 5); listView.ItemTapped += (sender, e) => { if (e.Item == null) { return; // don't do anything if we just de-selected the row } ((ListView)sender).SelectedItem = null; // de-select the row }; }
public IHttpActionResult AddCircular(CircularViewModel model) { BranchOperationService.AddCircular(model.ToServiceRequestModel()); return(Ok()); }
public async Task <IHttpActionResult> CircularAdd(CircularViewModel model) { await WebApiService.Instance.PostAsync("branchoperation/circular/add", model); return(Ok()); }