public static Component ToDomain(this ComponentTO ComponentTO) { return(new Component(ComponentTO.Name) { Id = ComponentTO.Id }); }
public static ComponentEF ToEF(this ComponentTO Component) { if (Component is null) { throw new ArgumentNullException(nameof(Component)); } return(new ComponentEF { Id = Component.Id, NameEnglish = Component.Name.English, NameFrench = Component.Name.French, NameDutch = Component.Name.Dutch }); }
public ComponentTO Update(ComponentTO Entity) { throw new System.NotImplementedException(); }
public bool Remove(ComponentTO entity) { throw new System.NotImplementedException(); }
public bool AddComponent(ComponentTO componentToAdd) { return(true); }