public UserSubscriptionsBll() { var uow = new UnitOfWork(new MemoContext()); userSubscriptions = new UserSubscriptions(uow); converterToDto = new ConverterToDTO(); converterFromDto = new ConverterFromDTO(uow); }
public UserSubscriptionsBll( IUserSubscriptions userSubscriptions, IConverterToDTO converterToDto, IConverterFromDTO converterFromDto) { this.userSubscriptions = userSubscriptions; this.converterToDto = converterToDto; this.converterFromDto = converterFromDto; }