Ejemplo n.º 1
0
        public async Task <Place> UpdateAsync(Place Place)
        {
            context.Update(Place);
            await context.SaveChangesAsync();

            return(Place);
        }
Ejemplo n.º 2
0
        public async Task <Report> UpdateAsync(Report Report)
        {
            context.Update(Report);
            await context.SaveChangesAsync();

            return(Report);
        }
Ejemplo n.º 3
0
        public async Task <Exhibition> UpdateAsync(Exhibition Exhibition)
        {
            context.Update(Exhibition);
            await context.SaveChangesAsync();

            return(Exhibition);
        }
Ejemplo n.º 4
0
        public async Task <Event> UpdateAsync(Event Event)
        {
            context.Update(Event);
            await context.SaveChangesAsync();

            return(Event);
        }
Ejemplo n.º 5
0
        public async Task <Information> UpdateAsync(Information Information)
        {
            context.Update(Information);
            await context.SaveChangesAsync();

            return(Information);
        }
Ejemplo n.º 6
0
        public async Task <Address> UpdateAsync(Address Address)
        {
            context.Update(Address);
            await context.SaveChangesAsync();

            return(Address);
        }
Ejemplo n.º 7
0
        public async Task <Colors> UpdateAsync(Colors Colors)
        {
            context.Update(Colors);
            await context.SaveChangesAsync();

            return(Colors);
        }
Ejemplo n.º 8
0
        public async Task <Comment> UpdateAsync(Comment Comment)
        {
            context.Update(Comment);
            await context.SaveChangesAsync();

            return(Comment);
        }
Ejemplo n.º 9
0
        public async Task <Ceremony> UpdateAsync(Ceremony Cermoney)
        {
            context.Update(Cermoney);
            await context.SaveChangesAsync();

            return(Cermoney);
        }
Ejemplo n.º 10
0
 public void Update(int Id, Department entity)
 {
     db.Update(entity);
     db.SaveChanges();
 }
 public void Update(int Id, Emps newEm)
 {
     db.Update(newEm);
     db.SaveChanges();
 }