public void OnGet(Guid?id) { if (id.HasValue) { Bucket = _bucketService.GetBucketMapping(id.Value); } }
public IActionResult EditBucket(string id) { BucketMapping model = new BucketMapping(); if (!String.IsNullOrEmpty(id)) { model = _bucketService.GetBucketMapping(id); } return(PartialView(model)); }