//Update Users public bool UpdateUser(Users user) { try { usersDA.UpdateUser(user); } catch (Exception ex) { ExceptionDA.StoreExceptions(ex); return(false); } return(true); }
//call the DA layer to Create a new contract in the list public bool CreateContracts(Contracts contract) { bool check; try { check = contractsData.CreateContract(contract); } catch (Exception ex) { ExceptionDA.StoreExceptions(ex); check = false; } return(check); }
public bool StoreExceptions(Exception Ex) { //store into a bool variable for test purposes bool check = ExceptionDA.StoreExceptions(Ex); //return check return(check); }
public bool UpdateGame(Game game) { try { gameDataAccess.UpdateGame(game); } catch (Exception ex) { ExceptionDA.StoreExceptions(ex); return(false); } return(true); }