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