Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupsController"/> class.
 /// </summary>
 /// <param name="groupService">The group service.</param>
 /// <param name="groupRepository">The group repository.</param>
 public GroupsController(GroupService groupService, IListItemsRepository <Group> groupRepository) : base(groupRepository)
 {
     _groupService = groupService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ClausesController"/> class.
 /// </summary>
 /// <param name="clauseService">The clause service.</param>
 /// <param name="clauseRepository">The clause repository.</param>
 public ClausesController(ClauseService clauseService,
                          IListItemsRepository <Clause> clauseRepository)
     : base(clauseRepository)
 {
     _clauseService = clauseService;
 }