public AdvertisingController(IUnitOfWork context, IUploadfile upload, IAdvertiseRepository iar, IHostingEnvironment webroot ) { _context = context; _upload = upload; _iar = iar; _webroot = webroot; }
public UserController(IUnitOfWork context, IUploadfile upload, UserManager <ApplicationUsers> userManager) { _context = context; _upload = upload; _userManager = userManager; }
public NewsController(IUnitOfWork iuw, IUploadfile upload, UserManager <ApplicationUsers> userManager) { _iuw = iuw; _upload = upload; _userManager = userManager; }