Пример #1
0
 public CreatorControler(
     CrowdFunDbContext context,
     CrowdFun.Core.model.services.CreatorServices creator)
 {
     context_ = context;
     creator_ = creator;
 }
Пример #2
0
        static async Task Main(string[] args)
        {
            var context = new CrowdFunDbContext();

            context.Database.EnsureCreated();

            var BackerService  = new BackerServices(context);
            var ProjectService = new ProjectServices(context);
            var RewardService  = new RewardsService(context);
        }
Пример #3
0
 public BackerController(CrowdFunDbContext context)
 {
     backer_ = new BackerServices(context);
 }
Пример #4
0
 public ProjectController(CrowdFunDbContext context)
 {
     project_ = new ProjectServices(context);
 }