public ProfileService(IProfileRepository profileRepository, IProfileActivityRepository profileActivityRepository, ICredentialService credentialService, IActivityTypeRepository activityTypeRepository, IGrunkerRepository grunkRepository, IPictureService pictureService, IPictureRepository pictureRepository, IReviewService reviewService, IProductService productService) { this.ProfileRepository = profileRepository; this.CredentialService = credentialService; this.ProfileActivityRepository = profileActivityRepository; this.ActivityTypeRepository = activityTypeRepository; this.GrunkRepository = grunkRepository; this.PictureService = pictureService; this.PictureRepository = pictureRepository; this.ReviewService = reviewService; this.ProductService = productService; }
public ProfileController(IProfileRepository profileRepository, IProfileSexRepository profileSexRepository, IProfileAlcoholRepository profileAlcoholRepository, IProfileSmokingRepository profileSmokingRepository, IProfileAnimalsRepository profileAnimalsRepository, IProfileInteresRepository profileInteresRepository, IProfileActivityRepository profileActivityRepository) { ProfileRepository = profileRepository; ProfileSexRepository = profileSexRepository; ProfileAlcoholRepository = profileAlcoholRepository; ProfileSmokingRepository = profileSmokingRepository; ProfileAnimalsRepository = profileAnimalsRepository; ProfileInteresRepository = profileInteresRepository; ProfileActivityRepository = profileActivityRepository; }