Промежуточная фиксация.
This commit is contained in:
parent
68f3a8eb51
commit
9c73e7129d
@ -22,13 +22,13 @@ namespace BankYouBankruptDatabaseImplement.Models
|
|||||||
public int AccountSenderId { get; set; }
|
public int AccountSenderId { get; set; }
|
||||||
|
|
||||||
//для передачи номера счёта отправителя
|
//для передачи номера счёта отправителя
|
||||||
public virtual Account AccountSenderNumber { get; set; }
|
//public virtual Account AccountSender { get; set; }
|
||||||
|
|
||||||
[Required]
|
[Required]
|
||||||
public int AccountPayeeId { get; set; }
|
public int AccountPayeeId { get; set; }
|
||||||
|
|
||||||
//для передачи номера счёта получателя
|
//для передачи номера счёта получателя
|
||||||
public virtual Account AccountPayeeNumber { get; set; }
|
//public virtual Account AccountPayee { get; set; }
|
||||||
|
|
||||||
[Required]
|
[Required]
|
||||||
public DateTime DateOperation { get; set; }
|
public DateTime DateOperation { get; set; }
|
||||||
@ -42,8 +42,8 @@ namespace BankYouBankruptDatabaseImplement.Models
|
|||||||
AccountSenderId = model.AccountSenderId,
|
AccountSenderId = model.AccountSenderId,
|
||||||
AccountPayeeId = model.AccountPayeeId,
|
AccountPayeeId = model.AccountPayeeId,
|
||||||
DateOperation = model.DateOperation,
|
DateOperation = model.DateOperation,
|
||||||
AccountSenderNumber = context.Accounts.First(x => x.Id == model.AccountSenderId),
|
//AccountSender = context.Accounts.First(x => x.Id == model.AccountSenderId),
|
||||||
AccountPayeeNumber = context.Accounts.First(x => x.Id == model.AccountPayeeId)
|
//AccountPayee = context.Accounts.First(x => x.Id == model.AccountPayeeId)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user