ultimate report system
This commit is contained in:
@@ -178,15 +178,6 @@ namespace ReallifeGamemode.Server.Finance
|
||||
}
|
||||
}
|
||||
|
||||
private static int GetRentalFees(Client client)
|
||||
{
|
||||
using (var dbContext = new DatabaseContext())
|
||||
{
|
||||
User user = client.GetUser();
|
||||
return dbContext.HouseRentals.Where(h => h.UserId == user.Id).Include(h => h.House).Sum(h => h.House.RentalFee);
|
||||
}
|
||||
}
|
||||
|
||||
public static void ReleasePayDay(Client client, Paycheck paycheck)
|
||||
{
|
||||
using (var dbContext = new DatabaseContext())
|
||||
|
||||
Reference in New Issue
Block a user