Compare commits
No commits in common. "9c2aedc60841d632845b365b087fe2fa4088c55f" and "c0a5e57791d340651c2f019bb4f1a814343cbb4f" have entirely different histories.
9c2aedc608
...
c0a5e57791
@ -27,7 +27,8 @@ namespace BankDatabaseImplement.Implements
|
||||
.Where(x => (
|
||||
(!model.Id.HasValue || x.Id == model.Id) &&
|
||||
(!model.DateFrom.HasValue || x.OperationTime >= model.DateFrom ) &&
|
||||
(!model.DateTo.HasValue || x.OperationTime <= model.DateTo)
|
||||
(!model.DateTo.HasValue || x.OperationTime <= model.DateTo) &&
|
||||
(!model.CardId.HasValue || x.RecipientCardId == model.CardId || x.SenderCardId == model.CardId)
|
||||
)).Select(x => x.GetViewModel).ToList();
|
||||
}
|
||||
public OperationViewModel? GetElement(OperationSearchModel model)
|
||||
|
Loading…
Reference in New Issue
Block a user