예제 #1
0
        public async Task OnGet()
        {
            //set data

            //get specific gram from an id
            Gram = await _gram.FindGram(ID);
        }
예제 #2
0
 public async Task OnGet()
 {
     Gram = await _gram.FindGram(ID.GetValueOrDefault()) ?? new Gram();
 }