public RatingService(IRatingDAO dao, IMapper mapper) : base(dao, mapper) { _ratingDao = dao; }
public RatingBLL(IRatingDAO iRatingDAO) { _iRatingDAO = iRatingDAO; }
public RatingLogic(IRatingDAO ratingDAO, ISQLDAO dao, ILoggerIO log) { logs = log; ratingData = ratingDAO; //injecting dependency ratingData.GetDataWriter(dao); //dependency injector through a infrastructure }