예제 #1
0
 /// <summary>
 /// Получить тестовую таблицу в стандартном исполнении
 /// </summary>
 public static Mock <ITestTable> GetTestDatabaseTable(IResultCollection <TestEntity> testEntities,
                                                      Func <TestEntity, IResultValue <TestEntity> > deleteFunc) =>
 GetTestDatabaseTable(testEntities, DeleteOk, deleteFunc, DatabaseTableGetMock.FindIdOkFunc(testEntities));
예제 #2
0
 /// <summary>
 /// Получить тестовую таблицу в стандартном исполнении
 /// </summary>
 public static Mock <ITestTable> GetTestDatabaseTable(IResultCollection <TestEntity> testEntities,
                                                      IResultError resultDelete) =>
 GetTestDatabaseTable(testEntities, resultDelete, DeleteOkFunc(), DatabaseTableGetMock.FindIdOkFunc(testEntities));