/// <summary> /// Initializes a new instance of the <see cref="ContactPhotoController"/> class. /// </summary> /// <param name="contactPhotoRepository">The contact photo repository.</param> public ContactPhotoController(IContactPhotoRepository contactPhotoRepository) { this._contactPhotoRepository = contactPhotoRepository; }
public ContactService(ICurrentContextProvider contextProvider, IContactRepository contactRepository, IContactPhotoRepository contactPhotoRepository) : base(contextProvider) { this.contactRepository = contactRepository; this.contactPhotoRepository = contactPhotoRepository; }