public void TestAddInvalidBoardNullAsync() { var board = new Board { Name = null, Discription = null }; try { _br.AddAsync(board); } catch (Exception ex) { Assert.IsTrue(ex is DbEntityValidationException); } }
public void TestAddInvalidBoardNullAsync() { var board = new Board { Name = null, Discription = null }; try { _br.AddAsync(board); } catch (Exception ex) { Assert.IsTrue(ex is DbEntityValidationException); } }