public async Task <IActionResult> PersistedGrant(string id, int?page) { var persistedGrants = await _persistedGrantService.GetPersitedGrantsByUser(id, page ?? 1); persistedGrants.SubjectId = Convert.ToInt16(id); return(View(persistedGrants)); }
public async Task <IActionResult> PersistedGrant(Guid id, int?page) { var persistedGrants = await _persistedGrantService.GetPersitedGrantsByUser(id, page ?? 1); persistedGrants.SubjectId = id; return(View(persistedGrants)); }