Example #1
0
 public ImageController(IDatabaseRepository <UserImages> userimages,
                        IJsonCache <UserImages> cacheimage,
                        IDatabaseRepository <Vote> databasevote,
                        IDatabaseRepository <Comments> databasecomment,
                        IDatabaseRepository <Category> categoryrepository,
                        IJsonCache <Category> categorycache,
                        IVote updatevote,
                        IUserImages user,
                        IComments comments)
 {
     this.userimages         = userimages;
     this.cacheimage         = cacheimage;
     this.databasevote       = databasevote;
     this.updatevote         = updatevote;
     this.comments           = comments;
     this.databasecomment    = databasecomment;
     this.categoryrepository = categoryrepository;
     this.categorycache      = categorycache;
     this.user = user;
 }
Example #2
0
 public DatabaseService(IJsonCache jsonCache)
 {
     _jsonCache = jsonCache;
 }
 public AdminCategoryCreateController(IDatabaseRepository <Category> categoryresulter, IJsonCache <Category> jsoncache)
 {
     this.categoryresulter = categoryresulter;
     this.jsoncache        = jsoncache;
 }
Example #4
0
 public Container(IDatabaseRepository <UserImages> databaseimages, IJsonCache <UserImages> cacheimage)
 {
     this.databaseimages = databaseimages;
     this.cacheimage     = cacheimage;
 }
Example #5
0
 public CategoryList(IDatabaseRepository <Category> categorylist, IJsonCache <Category> categorycache)
 {
     this.categorylist  = categorylist;
     this.categorycache = categorycache;
 }
Example #6
0
 public GitlabProjectManager(DatabaseService databaseService, IGitlabService gitlabService, IJsonCache jsonCache)
 {
     _databaseService = databaseService;
     _gitlabService   = gitlabService;
     _jsonCache       = jsonCache;
 }
Example #7
0
 public Header(IDatabaseRepository <Category> categorylist, IJsonCache <Category> category)
 {
     this.categorylist = categorylist;
     this.category     = category;
 }
Example #8
0
 public UploadImage(IDatabaseRepository <Category> databasecategory, IJsonCache <Category> categorycache)
 {
     this.databasecategory = databasecategory;
     this.categorycache    = categorycache;
 }