Exemplo n.º 1
0
 public FundController(CrFrDbContext db, IFundServices fundservices, IProjectServices projectServices,
                       IHttpContextAccessor _httpContextAccessor)
 {
     _db                 = db;
     _fundservices       = fundservices;
     _projectservices    = projectServices;
     httpContextAccessor = _httpContextAccessor;
 }
Exemplo n.º 2
0
 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;
 }