public PostService(IStrGenerator generator, MCSDbContext contextDb, IImageService imageService) { _generator = generator; _contextDb = contextDb; _imageService = imageService; }
public ImageService(IWebHostEnvironment env, IStrGenerator generator, MCSDbContext db) { _db = db; _env = env; _generator = generator; }