private void button_LogOut_Click(object sender, EventArgs e) { AurhorizationModel aurhorization = new AurhorizationModel(); aurhorization.LogOut(); Close(); }
private AurhorizationModel CreateLogModel() { AurhorizationModel model = new AurhorizationModel(); model.Login = Login_LogForm.Text; model.Password = Password_LogForm.Text; return(model); }
public void Authorization(AurhorizationModel model) { var singleton = Singleton.getInstance(); singleton.ToSigleton(model.Login); }