コード例 #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;
 }