'What is the best way to calculate values from an SQL Server Database in Blazor Server?
public class Loan
{
[Key]
public int LoanId { get; set; }
public string LoanNumber { get; set; }
public int TotalAmount { get; set; }
public int PaidAmount { get; set; }
public DateTime DueDate { get; set; }
public int GroupId { get; set; }
public Group Group { get; set; }
}
I want to be able to calculate the balance given by: Balance = TotalAmount-PaidAmount I also want to be able to see the result in my web application. Refer to the picture attached.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

