This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public int Id { get; set; } | |
public string Name { get; set; } | |
public int CurrentGradeId { get; set; } | |
public Grade CurrentGrade { get; set; } | |
public StudentAddress StudentAddress { get; set; } | |
public virtual ICollection<StudentCourse> StudentCourses { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public int Id { get; set; } | |
public string GradeName { get; set; } | |
public string Section { get; set; } | |
public ICollection<Student> Students { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public int Id { get; set; } | |
public string CourseName { get; set; } | |
public string Description { get; set; } | |
public virtual ICollection<StudentCourse> StudentCourses { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public int StudentAddressId { get; set; } | |
public string Address { get; set; } | |
public string City { get; set; } | |
public string State { get; set; } | |
public string Country { get; set; } | |
public int AddressOfStudentId { get; set; } | |
public Student Student { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public int StudentId { get; set; } | |
public Student Student { get; set; } | |
public int CourseId { get; set; } | |
public Course Course { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://www.gstatic.com/firebasejs/5.7.2/firebase.js"></script> | |
<script src="https://www.gstatic.com/firebasejs/5.7.0/firebase-app.js"></script> | |
<script src="https://www.gstatic.com/firebasejs/5.7.0/firebase-messaging.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
// Your web app's Firebase configuration | |
var firebaseConfig = { | |
apiKey: "AIzaSyDdcd0TbwSsQIWKTWlJg1uptMNOpgjP95M", | |
authDomain: "web-bildirimleri-7915c.firebaseapp.com", | |
databaseURL: "https://web-bildirimleri-7915c.firebaseio.com", | |
projectId: "web-bildirimleri-7915c", | |
storageBucket: "web-bildirimleri-7915c.appspot.com", | |
messagingSenderId: "324534114351", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const messaging = firebase.messaging(); | |
messaging | |
.requestPermission() | |
.then(function () { | |
console.log('Yetki izni verildi.'); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
importScripts('https://www.gstatic.com/firebasejs/6.0.2/firebase-app.js'); | |
importScripts('https://www.gstatic.com/firebasejs/6.0.2/firebase-messaging.js') | |
// Initialize the Firebase app in the service worker by passing in the | |
// messagingSenderId. | |
firebase.initializeApp({ | |
'messagingSenderId': '324534114351' | |
}); | |
// Retrieve an instance of Firebase Messaging so that it can handle background |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
messaging.getToken().then(function(currentToken) { | |
console.log(currentToken); | |
}).catch(function(err) { | |
console.log('hata oluştu', err); | |
}); |
OlderNewer