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