示例#1
0
 public int Update(ViewFollow model)
 {
     Repository.updateEntity(ViewFollow.ToEntity(model));
     return(Repository.Save());
 }
示例#2
0
 public int Add(ViewFollow model)
 {
     Repository.Add(ViewFollow.ToEntity(model));
     return(Repository.Save());
 }