Esempio n. 1
0
        public void SaveCardType(string card)
        {
            var type = new ApplicationForm {
                CardType = card
            };

            //_appDbContext.ApplicationForm.Add(type);
            _appDbContext.ApplicationForm.Update(type);
            // _appDbContext.SaveChanges();
        }
Esempio n. 2
0
        public void CreateApplication(ApplicationForm application)
        {
            _appDbContext.ApplicationForm.Add(application);

            _appDbContext.SaveChanges();
        }