public ContactsService(IKofCRepository <Contact> contactsRepository,
                        IKofCRepository <ContactType> contactTypeRepository,
                        IKofCRepository <ContactAddress> contactAddressesRepository,
                        IKofCRepository <AlbumImage> albumImageRepository,
                        IHostEnvironment hostEnvironment)
 {
     _ContactsRepository         = contactsRepository;
     _ContactTypeRepository      = contactTypeRepository;
     _ContactAddressesRepository = contactAddressesRepository;
     _AlbumImageRepository       = albumImageRepository;
     _HostingEnvironment         = hostEnvironment;
 }
 public AlbumsService(IKofCRepository <Album> albumRepository)
 {
     _AlbumRepo = albumRepository;
 }
 public NewslettersService(IKofCRepository <UploadedFile> UploadedFileRepository)
 {
     _UploadedFilesRepository = UploadedFileRepository;
 }
Esempio n. 4
0
 public RequestsService(IKofCRepository <Request> requestRepository, IKofCRepository <Contact> contactRepo)
 {
     _RequestRepo = requestRepository;
     _ContactRepo = contactRepo;
 }
Esempio n. 5
0
 public RequestTypesService(IKofCRepository <RequestType> RequesttypeRepository)
 {
     _RequesttypeRepo = RequesttypeRepository;
 }
 public NewsItemsService(IKofCRepository <NewsItem> newsitemRepository)
 {
     _NewsItemsRepository = newsitemRepository;
 }
Esempio n. 7
0
 public ImagesService(IKofCRepository <AlbumImage> ImageRepository)
 {
     _ImageRepo = ImageRepository;
 }