public void AddUser(UsersWM webModel) { try { _usersOperations.AddUser(UsersMapping.MapToEntity(webModel)); } catch (Exception ex) { throw new Exception(ex.ToString()); } }
public bool AddUser(User newUser) { try { operationsObj = new UsersOperations(); { return(operationsObj.AddUser(newUser)); } } catch (UserException) { throw; } catch (System.Exception ex) { throw ex; } }
public bool AddUser(User newUser) { bool sellerAdded = false; try { uv = new UsersOperations(); { uv.AddUser(newUser); } } catch (UserException) { throw; } catch (System.Exception ex) { throw ex; } return(sellerAdded); }