public IEnumerable <GroupVM> Create(string dictaatName, [FromBody] IEnumerable <GroupVM> groups) { if (!AuthorizeResource(dictaatName)) { return(null); } return(_participantRepository.CreateGroups(dictaatName, groups)); }
public IEnumerable <GroupVM> Create(string dictaatName, [FromBody] IEnumerable <GroupVM> groups) { if (!AuthorizeResource(dictaatName)) { return(null); } return(_participantRepository.CreateGroups(dictaatName, groups)); }