public SocialNetworkService(ISocialNetworkRepository socialnetworkRepository, IResourceService <SharedResource> sharedResourceService, IResourceService <GhmWebsiteResource> resourceService) { _socialnetworkRepository = socialnetworkRepository; _sharedResourceService = sharedResourceService; _resourceService = resourceService; }
public SocialNetworkController(ISocialNetworkRepository repository, string catalog, LoginView view) { this._LoginId = view.LoginId.ToLong(); this._UserId = view.UserId.ToInt(); this._OfficeId = view.OfficeId.ToInt(); this._Catalog = catalog; this.SocialNetworkRepository = repository; }
public SocialNetworkController() { this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong(); this._UserId = AppUsers.GetCurrent().View.UserId.ToInt(); this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt(); this._Catalog = AppUsers.GetCurrentUserDB(); this.SocialNetworkRepository = new MixERP.Net.Schemas.Core.Data.SocialNetwork { _Catalog = this._Catalog, _LoginId = this._LoginId, _UserId = this._UserId }; }
public PhotosController(ISocialNetworkRepository repo, IMapper mapper, IOptions <CloudinarySettings> cloudinaryConfig) { _repo = repo; _mapper = mapper; _cloudinaryConfig = cloudinaryConfig; Account acc = new Account( _cloudinaryConfig.Value.CloudName, _cloudinaryConfig.Value.ApiKey, _cloudinaryConfig.Value.ApiSecret ); _cloudinary = new Cloudinary(acc); }
public MessagesController(ISocialNetworkRepository repo, IMapper mapper) { _mapper = mapper; _repo = repo; }
public UsersController(ISocialNetworkRepository socialNetworkRepository, IMapper mapper) { _socialNetworkRepository = socialNetworkRepository; _mapper = mapper; }