예제 #1
0
 public ProjectService(
     CrowDoDbContext context,
     IUserService users)
 {
     context_ = context;
     user_    = users;
 }
 public CrowDoFixture()
 {
     Context = new CrowDoDbContext();
     Users   = new UserService(Context);
     //Projects = new ProjectService(Context);
     //FundingPackages = new FundingPackage(Context);
 }
 public FundingPackageService(
     CrowDoDbContext context,
     IUserService users,
     IProjectService projects)
 {
     context_ = context;
     user_    = users;
     project_ = projects;
 }
예제 #4
0
        //private readonly IFundingPackageService fundingPackage_;

        public ProjectService(
            CrowDoDbContext context,
            IUserService users//,
            //IFundingPackageService fundingPackages
            )
        {
            context_ = context;
            user_    = users;
            //fundingPackage_ = fundingPackages;
        }
예제 #5
0
 public ProjectServices(CrowDoDbContext crowDoDbContext)
 {
     context = crowDoDbContext;
 }
예제 #6
0
 public UserServices(CrowDoDbContext contexts)
 {
     context = contexts;
 }
예제 #7
0
 public UserService(CrowDoDbContext context)
 {
     context_ = context;
 }
예제 #8
0
 public SearchServices(CrowDoDbContext crowDoDbContext)
 {
     context = crowDoDbContext;
 }
 public UserServiceTests(CrowDoFixture fixture)
 {
     context_ = fixture.Context;
     user_    = fixture.Users;
 }