//Lấy danh sách User dựa vào GroupId public async Task <IEnumerable <ApplicationUser> > GetListUserByGroupId(int groupId) { return(await Task.FromResult(_appGroupRepository.GetListUserByGroupId(groupId))); }
public IEnumerable <ApplicationUser> GetListUserByGroupId(int groupId) => _appGroupRepository.GetListUserByGroupId(groupId);
public IEnumerable <ApplicationUser> GetListUserByGroupId(int groupId) { return(_applicationGroupRepository.GetListUserByGroupId(groupId)); }