public UserService( IUnitOfWork unitOfWork, IUserRepository userRepository, IRoleRepository roleRepository, IPostRepository postRepository, IUserRoleMappingRepository userRoleMappingRepository, IPostService postService, IReferralService referralService) { this._unitOfWork = unitOfWork; this._userRepository = userRepository; this._roleRepository = roleRepository; this._postRepository = postRepository; this._userRoleMappingRepository = userRoleMappingRepository; this._postService = postService; this._referralService = referralService; }
public UserRoleMappingService(IUserRoleMappingRepository userRoleMappingRepository) { this._userRoleMappingRepository = userRoleMappingRepository; }
public UserRoleMappingService(IUserRoleMappingRepository userRoleMappingRepository) { this.userRoleMappingRepository = userRoleMappingRepository; }