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;
 }
Example #3
0
 public NewsController(IUnitOfWork iuw, IUploadfile upload, UserManager <ApplicationUsers> userManager)
 {
     _iuw         = iuw;
     _upload      = upload;
     _userManager = userManager;
 }