예제 #1
0
        public Race Update(Race race)
        {
            _context.Attach(race).State = EntityState.Modified;
            _context.SaveChanges();

            return(race);
        }
예제 #2
0
        public Subrace Update(Subrace subrace)
        {
            _context.Attach(subrace).State = EntityState.Modified;
            _context.SaveChanges();

            return(subrace);
        }
        public Character Update(Character character)
        {
            _context.Attach(character).State = EntityState.Modified;
            _context.SaveChanges();

            return(character);
        }
        public Alignment Update(Alignment alignment)
        {
            _context.Attach(alignment).State = EntityState.Modified;
            _context.SaveChanges();

            return(alignment);
        }
예제 #5
0
        public Class Update(Class _class)
        {
            _context.Attach(_class).State = EntityState.Modified;
            _context.SaveChanges();

            return(_class);
        }