示例#1
0
 public void Update(Domain.User updatedDomain)
 {
     base.Save <Data.Models.User>(updatedDomain.ToEntity(), updatedDomain.Id);
 }
示例#2
0
 public Domain.User Add(Domain.User domain)
 {
     return(base.Add <Data.Models.User>(domain.ToEntity()).ToDomain());
 }