void DoCreateInstitutionCommand() { string unknownString = "unknow"; var institution = new Institution { name = InstitutionName, country = unknownString, region = unknownString, address_line_1 = unknownString, city = unknownString, email = unknownString, created_at = DateTime.UtcNow, updated_at = DateTime.UtcNow }; InstitutionsList.Add(institution); var headUser = new User { name = FirstName, lastname = LastName, username = Username, password = EncryptionService.encrypt(Password), email = Email, created_at = DateTime.UtcNow, updated_at = DateTime.UtcNow }; var headInfo = new Head { title = "Sr." }; _mLearningService.CreateInstitution(institution, headInfo, headUser); // _mLearningService.CreateObject<Institution>(institution,i=>i.id); }