Esempio n. 1
0
 public MessageService(IPushNotificationProvider pushNotificationProvider)
 {
     PushNotification = pushNotificationProvider;
     UnitOfWork       = new CoreUnitOfWork();
     MessageBiz       = new MessageBiz(UnitOfWork);
     NotificationBiz  = new NotificationBiz(UnitOfWork);
 }
 public UserRegistrationService()
 {
     UnitOfWork    = new CoreUnitOfWork();
     UserBiz       = new UserBiz(UnitOfWork);
     MembershipBiz = new MembershipBiz(UnitOfWork);
     Logger        = new ExceptionLogBiz(UnitOfWork);
 }
Esempio n. 3
0
 public CartService(
     ICartRepository cartRepository,
     CoreUnitOfWork unitOfWork)
 {
     this.cartRepository = cartRepository;
     this.unitOfWork     = unitOfWork;
 }
 public PublicationService()
 {
     UnitOfWork     = new CoreUnitOfWork();
     BlogBiz        = new BlogBiz(UnitOfWork);
     PublicationBiz = new PublicationBiz(UnitOfWork);
     ContentBiz     = new ContentBiz(UnitOfWork);
 }
 public BasicInfoService()
 {
     UnitOfWork         = new CoreUnitOfWork();
     OrganizationBiz    = new OrganizationBiz(UnitOfWork);
     UniversityFieldBiz = new UniversityFieldBiz(UnitOfWork);
     JobBiz             = new JobBiz(UnitOfWork);
 }
Esempio n. 6
0
 public TracksService(
     ITracksRepository tracksRepository,
     CoreUnitOfWork unitOfWork)
 {
     this.tracksRepository = tracksRepository;
     this.unitOfWork       = unitOfWork;
 }
Esempio n. 7
0
 public NotificationService()
 {
     UnitOfWork      = new CoreUnitOfWork();
     NotificationBiz = new NotificationBiz(UnitOfWork);
     UserBiz         = new UserBiz(UnitOfWork);
     ContentBiz      = new ContentBiz(UnitOfWork);
 }
Esempio n. 8
0
 public ArticleService()
 {
     UnitOfWork = new CoreUnitOfWork();
     ArticleBiz = new ArticleBiz(UnitOfWork);
     VisitBiz   = new VisitBiz(UnitOfWork);
     CommentBiz = new CommentBiz(UnitOfWork);
     TagBiz     = new TagBiz(UnitOfWork);
 }
 public CommentService(IPushNotificationProvider pushNotificationProvider)
 {
     UnitOfWork       = new CoreUnitOfWork();
     CommentBiz       = new CommentBiz(UnitOfWork);
     NotificationBiz  = new NotificationBiz(UnitOfWork);
     ContentBiz       = new ContentBiz(UnitOfWork);
     PushNotification = pushNotificationProvider;
 }
Esempio n. 10
0
 public RecipesService(
     IRecipesRepository recipesRepository,
     ITagsService tagsService,
     CoreUnitOfWork unitOfWork)
 {
     this.recipesRepository = recipesRepository;
     this.tagsService       = tagsService;
     this.unitOfWork        = unitOfWork;
 }
Esempio n. 11
0
 public UserResumeService()
 {
     UnitOfWork           = new CoreUnitOfWork();
     OrganizationBiz      = new OrganizationBiz(UnitOfWork);
     UniversityFieldBiz   = new UniversityFieldBiz(UnitOfWork);
     EducationalResumeBiz = new EducationalResumeBiz(UnitOfWork);
     JobResumeBiz         = new JobResumeBiz(UnitOfWork);
     JobBiz = new JobBiz(UnitOfWork);
 }
Esempio n. 12
0
 public AppStatisticsService()
 {
     UnitOfWork         = new CoreUnitOfWork();
     ArticleBiz         = new ArticleBiz(UnitOfWork);
     BlogBiz            = new BlogBiz(UnitOfWork);
     VisitBiz           = new VisitBiz(UnitOfWork);
     UserBiz            = new UserBiz(UnitOfWork);
     CommentBiz         = new CommentBiz(UnitOfWork);
     MessageBiz         = new MessageBiz(UnitOfWork);
     FeaturedContentBiz = new FeaturedContentBiz(UnitOfWork);
 }
 public BlogService(IPushNotificationProvider pushNotificationProvider)
 {
     UnitOfWork               = new CoreUnitOfWork();
     BlogBiz                  = new BlogBiz(UnitOfWork);
     PublicationBiz           = new PublicationBiz(UnitOfWork);
     TagBiz                   = new TagBiz(UnitOfWork);
     FriendBiz                = new BlogLinkBiz(UnitOfWork);
     ContentBiz               = new ContentBiz(UnitOfWork);
     VisitBiz                 = new VisitBiz(UnitOfWork);
     PushNotificationProvider = pushNotificationProvider;
 }
 public UserProfileService()
 {
     UnitOfWork           = new CoreUnitOfWork();
     UserBiz              = new UserBiz(UnitOfWork);
     MembershipBiz        = new MembershipBiz(UnitOfWork);
     ProfileBiz           = new ProfileBiz(UnitOfWork);
     ArticleBiz           = new ArticleBiz(UnitOfWork);
     BlogBiz              = new BlogBiz(UnitOfWork);
     EducationalResumeBiz = new EducationalResumeBiz(UnitOfWork);
     VisitBiz             = new VisitBiz(UnitOfWork);
     JobResumeBiz         = new JobResumeBiz(UnitOfWork);
     FollowBiz            = new FollowBiz(UnitOfWork);
 }
 public UserService()
 {
     UnitOfWork = new CoreUnitOfWork();
     UserBiz    = new UserBiz(UnitOfWork);
 }
Esempio n. 16
0
 public SetupBlogService()
 {
     UnitOfWork = new CoreUnitOfWork();
     BlogBiz    = new BlogBiz(UnitOfWork);
     TagBiz     = new TagBiz(UnitOfWork);
 }
Esempio n. 17
0
 public FileService()
 {
     UnitOfWork = new CoreUnitOfWork();
     MediaBiz   = new MediaBiz(UnitOfWork);
 }
Esempio n. 18
0
 public LogService()
 {
     UnitOfWork      = new CoreUnitOfWork();
     ExceptionLogBiz = new ExceptionLogBiz(UnitOfWork);
 }
 public TagService()
 {
     UnitOfWork = new CoreUnitOfWork();
     TagBiz     = new TagBiz(UnitOfWork);
     ArticleBiz = new ArticleBiz(UnitOfWork);
 }
 public ContentService()
 {
     UnitOfWork = new CoreUnitOfWork();
     ContentBiz = new ContentBiz(UnitOfWork);
     TagBiz     = new TagBiz(UnitOfWork);
 }