26 lines
523 B
C#
26 lines
523 B
C#
using GameModel;
|
|
using GameModel.Contract;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GameHandler.UnitTests.Mocks
|
|
{
|
|
public class FakeExpenseRepository : IExpenseRepository
|
|
{
|
|
|
|
|
|
public IEnumerable<Expense> GetAll()
|
|
{
|
|
return IExpenseRepository.TestData;
|
|
}
|
|
|
|
public Task<PlayerExpense> Save(PlayerExpense data)
|
|
{
|
|
return Task.FromResult(data);
|
|
}
|
|
}
|
|
}
|