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

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