Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthorityService"/> class.
 /// </summary>
 /// <param name="repository">The repository.</param>
 /// <param name="roleReponsitory">The role reponsitory.</param>
 public AuthorityService(IAccountRepository repository, IRoleReponsitory roleReponsitory)
 {
     AccountRepository = repository;
     RoleReponsitory = roleReponsitory;
 }
Esempio n. 2
0
 public RoleService(IRoleReponsitory reponsitory)
 {
     _reponsitory = reponsitory;
 }
Esempio n. 3
0
 public RoleService(IRoleReponsitory roleReponsitory, IMapper mapper) : base(roleReponsitory)
 {
     _roleReponsitory = roleReponsitory;
     _mapper          = mapper;
 }