private void CreateDefaultRelationshipTypes() { _relationshipTypesRepository.AddRelationshipType(new RelationshipType { CreatetedAt = DateTime.Now, Description = RelationshipTypes.Amateur.ToStringValue(), UpdatedAt = DateTime.Now }); _relationshipTypesRepository.AddRelationshipType(new RelationshipType { CreatetedAt = DateTime.Now, Description = RelationshipTypes.Junior.ToStringValue(), UpdatedAt = DateTime.Now }); _relationshipTypesRepository.AddRelationshipType(new RelationshipType { CreatetedAt = DateTime.Now, Description = RelationshipTypes.Senior.ToStringValue(), UpdatedAt = DateTime.Now }); _relationshipTypesRepository.AddRelationshipType(new RelationshipType { CreatetedAt = DateTime.Now, Description = RelationshipTypes.Master.ToStringValue(), UpdatedAt = DateTime.Now }); }
private void AddRelationshipType(RelationshipType relationshipType) { _relationshipTypesRepository.AddRelationshipType(relationshipType); }