Beispiel #1
0
 public PayPalController(SkillsContext context)
 {
     _context = context;
     // Production
     _gateway     = new BraintreeGateway("access_token$production$cj3qwh2hs9jf2x7t$caf9e01c1b90d4ac86e0e8e8ec1f32d6");
     _clientToken = new PayPalClientToken();
 }
 public PayPalDevController(SkillsContext context)
 {
     _context = context;
     // Sandbox
     _gateway     = new BraintreeGateway("access_token$sandbox$k7qv4rtj3x2sjwn2$e6106c8ddfc8a0241077b2220ed98b1f");
     _clientToken = new PayPalDevClientToken();
 }
Beispiel #3
0
        public override string VisitSkills(SkillsContext context)
        {
            var skillTree = new Dictionary <string, List <string> >();
            var skills    = new List <string>();

            foreach (var skill in context.skill())
            {
                string number, skillName;

                if (skill.RANDOMSKILL() != null)
                {
                    number    = Generator.Number(1, 3).ToString();
                    skillName = Generator.Skill;
                    if (skills.Contains(skillName))
                    {
                        skillName = "WILD CARD";
                    }
                }
                else
                {
                    number    = VisitNumber(skill.number());
                    skillName = Text(skill.TEXT());
                }

                skills.Add(skillName);
                if (!skillTree.ContainsKey(number))
                {
                    skillTree.Add(number, new List <string>());
                }

                skillTree[number].Add(skillName);
            }

            var newLine    = Environment.NewLine;
            var skillTable = $"SKILLS{newLine}------{newLine}";

            foreach (var kvp in skillTree)
            {
                skillTable += $"\t{kvp.Key} | {string.Join(", ", kvp.Value)}{newLine}";
            }

            return(skillTable);
        }
 public UploadProfileImageController(SkillsContext context, IAmazonS3 s3Client)
 {
     _context = context;
     S3Client = s3Client;
 }
 public UpdateJobStateController(SkillsContext context)
 {
     _context = context;
 }
 public EnterpriseQuery(SkillsContext context) =>
Beispiel #7
0
 public EditClientProfileController(SkillsContext context)
 {
     _context = context;
 }
 public AcademicFormationRepository(SkillsContext context) =>
Beispiel #9
0
 public EditJobController(SkillsContext context)
 {
     _context = context;
 }
Beispiel #10
0
 public CreateClientFeedbackController(SkillsContext context)
 {
     _context = context;
 }
 public UploadFilesController(SkillsContext context, IAmazonS3 s3Client)
 {
     _context = context;
     S3Client = s3Client;
 }
 public LanguageQuery(SkillsContext context) =>
Beispiel #13
0
 public GetClientLimitsController(SkillsContext context)
 {
     _context = context;
 }
Beispiel #14
0
 public GetApplicationsController(SkillsContext context)
 {
     _context = context;
 }
 public GetJobDetailsController(SkillsContext context)
 {
     _context = context;
 }
 public CompetenceRepository(SkillsContext context) =>
Beispiel #17
0
 public EnterpriseRepository(SkillsContext context) =>
Beispiel #18
0
 public UserQuery(SkillsContext context)
 {
     _sqlConnection = new SqlConnection(context.Database.GetConnectionString());
     _context       = context;
 }
Beispiel #19
0
 public GetClientCompletedJobsController(SkillsContext context)
 {
     _context = context;
 }
 public RejectOfferController(SkillsContext context)
 {
     _context = context;
 }
Beispiel #21
0
 public GetProviderJobsController(SkillsContext context)
 {
     _context = context;
 }
Beispiel #22
0
 public GetClientBalanceController(SkillsContext context)
 {
     _context = context;
 }
Beispiel #23
0
 public GetClientFeedbacksController(SkillsContext context)
 {
     _context = context;
 }
 public UserRepository(SkillsContext context) =>
Beispiel #25
0
 public GetSkillsController(SkillsContext context)
 {
     _context = context;
 }
Beispiel #26
0
 public SkillsRepo(SkillsContext context)
 {
     _context = context;
 }
 public CompetencesQuery(SkillsContext context) =>
 public SkillsRepository(SkillsContext Context)
 {
     _context = Context;
 }
Beispiel #29
0
 public VerifySMSCodeController(SkillsContext context)
 {
     _context = context;
 }
Beispiel #30
0
 public GetProviderProfileController(SkillsContext context)
 {
     _context = context;
 }