public int Update(ViewtZanModels model) { Repository.updateEntity(ViewtZanModels.ToEntity(model)); return(Repository.Save()); }
public int Add(ViewtZanModels model) { Repository.Add(ViewtZanModels.ToEntity(model)); return(Repository.Save()); }
public int Update(ViewtZanModels model) { Repository.updateEntity(ViewtZanModels.ToEntity(model)); return(Repository.Save()); }
public int Add(ViewtZanModels model) { Repository.Add(ViewtZanModels.ToEntity(model)); return(Repository.Save()); }