public void Update(ProfileDTO profile) { Database.Profiles.Update(profile.ToProfile()); }
public void CreateNewProfile(ProfileDTO newProfile) { Database.Profiles.Create(newProfile.ToProfile()); Database.Save(); }