Skip to content

Commit 1a8199b

Browse files
committed
refactor(*.cs): Reorder using directives and fix indentation
Reordered using directives in DebtModel.cs and FinBotViewModel.cs for consistency. Fixed indentation in FinBotView.xaml.cs. No functional changes were made.
1 parent e63f4fa commit 1a8199b

File tree

4 files changed

+47
-47
lines changed

4 files changed

+47
-47
lines changed

FinTrack/Models/Debt/DebtModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using System.Windows.Media;
2-
using CommunityToolkit.Mvvm.ComponentModel;
1+
using CommunityToolkit.Mvvm.ComponentModel;
32
using FinTrack.Enums;
3+
using System.Windows.Media;
44

55
namespace FinTrack.Models.Debt
66
{

FinTrack/ViewModels/DebtViewModel.cs

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -116,51 +116,51 @@ private void LoadSampleData()
116116
{
117117
allDebts = new ObservableCollection<DebtModel>
118118
{
119-
new DebtModel
120-
{
121-
LenderName = "Ahmet Yılmaz",
122-
BorrowerName = "Unknown",
123-
Amount = 500,
124-
DueDate = new DateTime(2024, 6, 15),
125-
Status = DebtStatus.PendingProposal,
126-
CurrentUserName = CurrentUserName
119+
new DebtModel
120+
{
121+
LenderName = "Ahmet Yılmaz",
122+
BorrowerName = "Unknown",
123+
Amount = 500,
124+
DueDate = new DateTime(2024, 6, 15),
125+
Status = DebtStatus.PendingProposal,
126+
CurrentUserName = CurrentUserName
127127
},
128-
new DebtModel
129-
{
130-
LenderName = CurrentUserName,
131-
BorrowerName = "Eylül Korkmaz",
132-
Amount = 2500,
133-
DueDate = new DateTime(2024, 10, 1),
134-
Status = DebtStatus.AwaitingVideoUpload,
135-
CurrentUserName = CurrentUserName
128+
new DebtModel
129+
{
130+
LenderName = CurrentUserName,
131+
BorrowerName = "Eylül Korkmaz",
132+
Amount = 2500,
133+
DueDate = new DateTime(2024, 10, 1),
134+
Status = DebtStatus.AwaitingVideoUpload,
135+
CurrentUserName = CurrentUserName
136136
},
137-
new DebtModel
138-
{
139-
LenderName = "Sinem Berçem",
140-
BorrowerName = CurrentUserName,
141-
Amount = 30000,
142-
DueDate = new DateTime(2024, 8, 31),
143-
Status = DebtStatus.Active,
144-
CurrentUserName = CurrentUserName
137+
new DebtModel
138+
{
139+
LenderName = "Sinem Berçem",
140+
BorrowerName = CurrentUserName,
141+
Amount = 30000,
142+
DueDate = new DateTime(2024, 8, 31),
143+
Status = DebtStatus.Active,
144+
CurrentUserName = CurrentUserName
145145
},
146-
new DebtModel
147-
{
148-
LenderName = CurrentUserName,
149-
BorrowerName = "Ali Veli",
150-
Amount = 800000,
151-
DueDate = new DateTime(2025, 1, 1),
152-
Status = DebtStatus.AwaitingOperatorApproval,
153-
CurrentUserName = CurrentUserName
146+
new DebtModel
147+
{
148+
LenderName = CurrentUserName,
149+
BorrowerName = "Ali Veli",
150+
Amount = 800000,
151+
DueDate = new DateTime(2025, 1, 1),
152+
Status = DebtStatus.AwaitingOperatorApproval,
153+
CurrentUserName = CurrentUserName
154154
},
155-
new DebtModel
156-
{
157-
LenderName = CurrentUserName,
158-
BorrowerName = "Canan Aslan",
159-
Amount = 1000,
160-
DueDate = new DateTime(2024, 9, 20),
161-
Status = DebtStatus.RejectedByOperator,
162-
RejectionReason = "Insufficient video",
163-
CurrentUserName = CurrentUserName
155+
new DebtModel
156+
{
157+
LenderName = CurrentUserName,
158+
BorrowerName = "Canan Aslan",
159+
Amount = 1000,
160+
DueDate = new DateTime(2024, 9, 20),
161+
Status = DebtStatus.RejectedByOperator,
162+
RejectionReason = "Insufficient video",
163+
CurrentUserName = CurrentUserName
164164
}
165165
};
166166
_logger.LogInformation("Örnek borç verileri yüklendi.");

FinTrack/ViewModels/FinBotViewModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using CommunityToolkit.Mvvm.ComponentModel;
2-
using System.Collections.ObjectModel;
2+
using CommunityToolkit.Mvvm.Input;
3+
using FinTrack.Enums;
34
using FinTrack.Models.FinBot;
45
using Microsoft.Extensions.Logging;
5-
using FinTrack.Enums;
6-
using CommunityToolkit.Mvvm.Input;
6+
using System.Collections.ObjectModel;
77

88
namespace FinTrack.ViewModels
99
{

FinTrack/Views/FinBotView.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace FinTrack.Views
44
{
5-
public partial class FinBotView : UserControl
5+
public partial class FinBotView : UserControl
66
{
77
public FinBotView()
88
{

0 commit comments

Comments
 (0)