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