|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace BlueWest.Data
|
|
{
|
|
public static class UserExtensions
|
|
{
|
|
public static bool UserHasTransaction(this User user, int transactionId)
|
|
{
|
|
return user.FinanceTransactions.Contains(transactionId);
|
|
}
|
|
}
|
|
}
|