Test Creation DesktopApp

This commit is contained in:
2019-03-09 14:03:25 +01:00
parent e8fd116eab
commit ac9614a70a
34 changed files with 1131 additions and 189 deletions

View File

@@ -9,5 +9,7 @@ namespace LaDOSE.Business.Interface
T Create(T entity);
bool Update(T entity);
bool Delete(int id);
T AddOrUpdate(T entity);
}
}

View File

@@ -6,7 +6,7 @@ namespace LaDOSE.Business.Interface
{
public interface IEventService : IBaseService<Event>
{
bool CreateChallonge(int eventId, int wpEventId);
List<WPUser> GetBooking(int eventId, int wpEventId, Game game);
}
}

View File

@@ -1,7 +0,0 @@
namespace LaDOSE.Business.Interface
{
public interface IUtilService
{
bool UpdateBooking();
}
}

View File

@@ -1,4 +1,5 @@
using System.Collections.Generic;
using LaDOSE.Entity;
using LaDOSE.Entity.Wordpress;
namespace LaDOSE.Business.Interface
@@ -6,5 +7,9 @@ namespace LaDOSE.Business.Interface
public interface IWordPressService
{
List<WPEvent> GetWpEvent();
List<WPUser> GetBooking(int wpEventId, Game game);
List<WPUser> GetBookingOptions(int wpEventId, Game game);
bool UpdateBooking();
bool CreateChallonge(int gameId, int wpEventId);
}
}