public void Save(IAccount account) { using (IDataGateway dataGateway = this.dataGatewayProvider.GetDataGateway()) { dataGateway.SaveEntity(account); } }
public void Save(API.User user) { using (IDataGateway dataGateway = this.dataGatewayProvider.GetDataGateway()) { dataGateway.SaveEntity(user); } }
public void Save(Country country) { if (!country.IsTransient()) { return; } using (IDataGateway dataGateway = this.dataGatewayProvider.GetDataGateway()) { dataGateway.SaveEntity(country); } }
public void Save(Project project) { if (!project.IsTransient()) { return; } using (IDataGateway dataGateway = this.dataGatewayProvider.GetDataGateway()) { dataGateway.SaveEntity(project); } }
public void SaveAdministator(Administrator admin) { if (!admin.IsTransient()) { return; } using (IDataGateway dataGateway = this.dataGatewayProvider.GetDataGateway()) { dataGateway.SaveEntity(admin); } }
public void SaveMembersCount(MembersMetaInfo membersMeta) { if (!membersMeta.IsTransient()) { return; } using (IDataGateway dataGateway = this.dataGatewayProvider.GetDataGateway()) { dataGateway.SaveEntity(membersMeta); } }