public List <SensitiveInformation> Read() { var entitiesList = CrudManagerSensitiveInformation.Read(); var modelsList = new List <SensitiveInformation>(); foreach (EntitySensitiveInformation entity in entitiesList) { modelsList.Add(MappingEntityToDomainEntity.GetModel(entity)); } return(modelsList); }
public void Update(string uuid, SensitiveInformation modelSI) { EntitySensitiveInformation entitySI = MappingDomainEntityToEntity.GetEntity(modelSI); CrudManagerSensitiveInformation.Update(uuid, entitySI); }
public void Delete(int id) { CrudManagerSensitiveInformation.Delete(id); }
public void Delete(string uuid) { CrudManagerSensitiveInformation.Delete(uuid); }
public void Create(SensitiveInformation modelSI) { EntitySensitiveInformation entitySI = MappingDomainEntityToEntity.GetEntity(modelSI); CrudManagerSensitiveInformation.Create(entitySI); }
public static void Update(int id, ModelSensitiveInformation modelSI) { EntitySensitiveInformation entitySI = MappingModelToEntity.GetEntity(modelSI); CrudManagerSensitiveInformation.Update(id, entitySI); }
public static void Create(ModelSensitiveInformation modelSI) { EntitySensitiveInformation entitySI = MappingModelToEntity.GetEntity(modelSI); CrudManagerSensitiveInformation.Create(entitySI); }