public ProjectService(ProjectStorageDbContext db)
 {
     this.db      = db;
     this.files   = new Dictionary <string, File>();
     this.folders = new Dictionary <string, Folder>();
 }
 public CategoryService(ProjectStorageDbContext db)
 {
     this.db = db;
 }
Example #3
0
 public FileService(ProjectStorageDbContext db)
 {
     this.db = db;
 }
 private ICategoryService GetCategoryService(ProjectStorageDbContext context)
 {
     return(new CategoryService(context));
 }
Example #5
0
 public FolderService(ProjectStorageDbContext db, IMapper mapper)
 {
     this.db     = db;
     this.mapper = mapper;
 }