public UserCommandController(UserModifier modifier, UserRemoverForDevUse userRemoverForDev) { this.modifier = modifier; this.userRemoverForDev = userRemoverForDev; var configuration = new MapperConfiguration(cfg => { cfg.CreateMap <UserModifyRequest, UserVoRequest>(); cfg.CreateMap <UserLevelModifyRequest, UserLevelModifyVoRequest>(); }); this.mapper = configuration.CreateMapper(); }
public UserRegistrator() { _userRepository = new UserRepository(); _userModifier = new UserModifier(); }