Beispiel #1
0
        public void SaveCardType(string card)
        {
            var type = new ApplicationForm {
                CardType = card
            };

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

            _appDbContext.SaveChanges();
        }