Example #1
0
        private void InitInstitutions()
        {
            _institutionRepository.RemoveAllInstitutions();

            _institutionRepository.AddInstitution(new InstitutionDoc
            {
                Id          = Guid.NewGuid(),
                Name        = "Bank Hapoalim",
                Credentials = new List <string> {
                    "Username", "Password"
                },
                Type        = InstitutionType.Bank,
                IsSupported = true,
            });

            _institutionRepository.AddInstitution(new InstitutionDoc
            {
                Id          = Guid.NewGuid(),
                Name        = "Bank Leumi",
                Credentials = new List <string> {
                    "Username", "Password"
                },
                Type        = InstitutionType.Bank,
                IsSupported = false,
            });

            _institutionRepository.AddInstitution(new InstitutionDoc
            {
                Id          = Guid.NewGuid(),
                Name        = "Bank Mizrahi-Tefahot",
                Credentials = new List <string> {
                    "Username", "Password"
                },
                Type        = InstitutionType.Bank,
                IsSupported = true,
            });

            _institutionRepository.AddInstitution(new InstitutionDoc
            {
                Id          = Guid.NewGuid(),
                Name        = "Amex",
                Credentials = new List <string> {
                    "ID", "Last 6 digits", "Password"
                },
                Type        = InstitutionType.Credit,
                IsSupported = true,
            });

            _institutionRepository.AddInstitution(new InstitutionDoc
            {
                Id          = Guid.NewGuid(),
                Name        = "Visa Cal",
                Credentials = new List <string> {
                    "Username", "Password"
                },
                Type        = InstitutionType.Credit,
                IsSupported = true,
            });
        }
Example #2
0
 private void InitInstitutions()
 {
     _institutionRepository.RemoveAllInstitutions();
     _institutionRepository.AddInstitution(new InstitutionDoc
     {
         Id          = Guid.NewGuid(),
         Name        = "Bank Hapoalim",
         Credentials = new List <string> {
             "Username", "Password"
         },
         IsSupported = true,
         UpdatedOn   = DateTime.Now,
         CreatedOn   = DateTime.Now
     });
     _institutionRepository.AddInstitution(new InstitutionDoc
     {
         Id          = Guid.NewGuid(),
         Name        = "Bank Leumi",
         IsSupported = false,
         Credentials = new List <string> {
             "Username", "Password"
         },
         UpdatedOn = DateTime.Now,
         CreatedOn = DateTime.Now
     });
     _institutionRepository.AddInstitution(new InstitutionDoc
     {
         Id          = Guid.NewGuid(),
         Name        = "Bank Discount",
         IsSupported = false,
         Credentials = new List <string> {
             "Username", "Password"
         },
         UpdatedOn = DateTime.Now,
         CreatedOn = DateTime.Now
     });
     _institutionRepository.AddInstitution(new InstitutionDoc
     {
         Id          = Guid.NewGuid(),
         Name        = "AMEX",
         IsSupported = true,
         Credentials = new List <string> {
             "ID", "Last 6 digits", "Password"
         },
         UpdatedOn = DateTime.Now,
         CreatedOn = DateTime.Now
     });
 }