private void SetProperties(AdminGroupDto groupDto) { GroupName = groupDto.GroupName; GroupNameEng = groupDto.GroupNameEng; GroupNameRu = groupDto.GroupNameRu; }
public void UpdateGroup(AdminGroupDto groupDto) { SetProperties(groupDto); }
public async Task PutGroup(int id, AdminGroupDto grouptDto, CancellationToken token) { var existingGroup = await _groupRepository.GetByIdForAdminAsync(id, token); throw new NotImplementedException(); }
public Group(AdminGroupDto groupDto) { Products = new HashSet <Product>(); SetProperties(groupDto); }
public Task PostGroup(AdminGroupDto groupDto, CancellationToken token) { throw new NotImplementedException(); }