public BaseUsersService() { _usersRepository = new BaseUsersRepository(connection); _roleRepository = new BaseRoleRepository(connection); _unitOfWork = new UnitOfWork(connection); // Mapper.CreateMap<BaseUsers, BaseUsersDto>(); // Mapper.CreateMap<BaseUsersDto, BaseUsers>(); //var cfg = new MapperConfigurationExpression(); //cfg.CreateMap<BaseUsers, BaseUsersDto>(); //cfg.CreateMap<BaseUsersDto, BaseUsers>(); //Mapper.Initialize(cfg); }
public LoginAccessService() { _repository = new BaseUsersRepository(_connection); }