예제 #1
0
 public int Add(ViewtKeyWord model)
 {
     Repository.Add(ViewtKeyWord.ToEntity(model));
     return(Repository.Save());
 }
예제 #2
0
 public int Update(ViewtKeyWord model)
 {
     Repository.updateEntity(ViewtKeyWord.ToEntity(model));
     return(Repository.Save());
 }