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
     };
 }
Esempio n. 2
0
 public IHttpActionResult AddCircular(CircularViewModel model)
 {
     BranchOperationService.AddCircular(model.ToServiceRequestModel());
     return(Ok());
 }
Esempio n. 3
0
        public async Task <IHttpActionResult> CircularAdd(CircularViewModel model)
        {
            await WebApiService.Instance.PostAsync("branchoperation/circular/add", model);

            return(Ok());
        }