Example #1
0
 public FundController(CrFrDbContext db, IFundServices fundservices, IProjectServices projectServices,
                       IHttpContextAccessor _httpContextAccessor)
 {
     _db                 = db;
     _fundservices       = fundservices;
     _projectservices    = projectServices;
     httpContextAccessor = _httpContextAccessor;
 }
 public ProjectController(IProjectServices projectservices, CrFrDbContext db,
                          IHttpContextAccessor _httpContextAccessor,
                          IPledgeServices pledgesservices,
                          IPostServices postservices,
                          IFundServices fundservices,
                          IMultimediaServices multimediaServices,
                          IWebHostEnvironment environment)
 {
     _projectservices    = projectservices;
     _pledgesservices    = pledgesservices;
     _postservices       = postservices;
     _fundservices       = fundservices;
     _multimediaServices = multimediaServices;
     _db = db;
     httpContextAccessor = _httpContextAccessor;
     hostingEnvironment  = environment;
 }