public async Task <List <AppRole> > GetRolesByUserName(string userName)
 {
     return(await _appUserDal.GetRolesByUserName(userName));
 }
Example #2
0
 public async Task <ICollection <AppRole> > GetRolesByUserName(string userName)
 {
     return(await dal.GetRolesByUserName(userName));
 }