예제 #1
0
 public Rebel UpdateRebel(Rebel rebel)
 {
     try
     {
         _dbContext.Update(rebel);
         _dbContext.SaveChanges();
         return(rebel);
     }
     catch (Exception)
     {
         throw;
     }
 }
 public void UpdateRebel(Rebel rebel)
 {
     _dbContext.Update(rebel);
     _dbContext.SaveChanges();
 }